Warning: Permanently added '32.197.182.101' (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/10575677-rhel-10-x86_64 --chroot rhel-10-x86_64 Version: 1.8 PID: 12862 Logging PID: 12864 Task: {'allow_user_ssh': False, 'appstream': False, 'background': False, 'build_id': 10575677, 'buildroot_pkgs': [], 'chroot': 'rhel-10-x86_64', 'enable_net': True, 'fedora_review': False, 'git_hash': '3f182614ead8b6908c1cab554c01bc4f6e207e40', 'git_repo': 'https://copr-dist-git.fedorainfracloud.org/git/ldivizio/server/mongo-c-driver', 'isolation': 'default', 'memory_reqs': 2048, 'package_name': 'mongo-c-driver', 'package_version': '2.3.1-1', 'project_dirname': 'server', 'project_name': 'server', 'project_owner': 'ldivizio', 'repo_priority': 1, 'repos': [{'baseurl': 'https://download.copr.fedorainfracloud.org/results/ldivizio/server/rhel-10-x86_64/', 'id': 'copr_base', 'name': 'Copr repository', 'priority': 1}, {'baseurl': 'https://download.copr.fedorainfracloud.org/results/ldivizio/server/rhel-10-x86_64/', 'id': 'copr_ldivizio_server', 'name': 'Additional repo copr_ldivizio_server'}, {'baseurl': 'https://dl.fedoraproject.org/pub/epel/10/Everything/$basearch/', 'id': 'https_dl_fedoraproject_org_pub_epel_10_Everything_basearch', 'name': 'Additional repo https_dl_fedoraproject_org_pub_epel_10_Everything_basearch'}, {'baseurl': 'https://rpms.remirepo.net/enterprise/10/remi/$basearch/', 'id': 'https_rpms_remirepo_net_enterprise_10_remi_basearch', 'name': 'Additional repo https_rpms_remirepo_net_enterprise_10_remi_basearch'}], 'sandbox': 'ldivizio/server--ldivizio', 'source_json': {}, 'source_type': None, 'ssh_public_keys': None, 'storage': 1, 'submitter': 'ldivizio', 'tags': [], 'task_id': '10575677-rhel-10-x86_64', 'timeout': 18000, 'uses_devel_repo': False, 'with_opts': [], 'without_opts': []} Running: git clone https://copr-dist-git.fedorainfracloud.org/git/ldivizio/server/mongo-c-driver /var/lib/copr-rpmbuild/workspace/workdir-dtpy9x3b/mongo-c-driver --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://copr-dist-git.fedorainfracloud.org/git/ldivizio/server/mongo-c-driver', '/var/lib/copr-rpmbuild/workspace/workdir-dtpy9x3b/mongo-c-driver', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-dtpy9x3b/mongo-c-driver'... Running: git checkout 3f182614ead8b6908c1cab554c01bc4f6e207e40 -- cmd: ['git', 'checkout', '3f182614ead8b6908c1cab554c01bc4f6e207e40', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-dtpy9x3b/mongo-c-driver rc: 0 stdout: stderr: Note: switching to '3f182614ead8b6908c1cab554c01bc4f6e207e40'. 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 3f18261 automatic import of mongo-c-driver Running: dist-git-client sources cmd: ['dist-git-client', 'sources'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-dtpy9x3b/mongo-c-driver 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 2.3.1.tar.gz INFO: Reading stdout from command: curl --help all INFO: Calling: curl -H Pragma: -H 'Accept-Encoding: identity' -o 2.3.1.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/ldivizio/server/mongo-c-driver/2.3.1.tar.gz/md5/a1c4d7e4d8ac44e49652580407ffb0cf/2.3.1.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 7791k 100 7791k 0 0 307M 0 --:--:-- --:--:-- --:--:-- 317M INFO: Reading stdout from command: md5sum 2.3.1.tar.gz tail: /var/lib/copr-rpmbuild/main.log: file truncated Running (timeout=18000): unbuffer mock --spec /var/lib/copr-rpmbuild/workspace/workdir-dtpy9x3b/mongo-c-driver/mongo-c-driver.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-dtpy9x3b/mongo-c-driver --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1780824477.805650 -r /var/lib/copr-rpmbuild/results/configs/child.cfg INFO: mock.py version 6.7 starting (python version = 3.14.2, NVR = mock-6.7-1.fc43), args: /usr/libexec/mock/mock --spec /var/lib/copr-rpmbuild/workspace/workdir-dtpy9x3b/mongo-c-driver/mongo-c-driver.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-dtpy9x3b/mongo-c-driver --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1780824477.805650 -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-dtpy9x3b/mongo-c-driver/mongo-c-driver.spec) Config(rhel-10-x86_64) Start: clean chroot Finish: clean chroot Mock Version: 6.7 INFO: Mock Version: 6.7 Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/rhel-10-x86_64-bootstrap-1780824477.805650/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.access.redhat.com/ubi10/ubi INFO: Pulling image: registry.access.redhat.com/ubi10/ubi INFO: Tagging container image as mock-bootstrap-5b3cafec-5e81-449c-b011-1ea5a144787f INFO: Checking that b9afc51d2cf3209fcc3f2fb8d89af9d070b942a66ef8cd9e63f14cc01c36dc82 image matches host's architecture INFO: Copy content of container b9afc51d2cf3209fcc3f2fb8d89af9d070b942a66ef8cd9e63f14cc01c36dc82 to /var/lib/mock/rhel-10-x86_64-bootstrap-1780824477.805650/root INFO: mounting b9afc51d2cf3209fcc3f2fb8d89af9d070b942a66ef8cd9e63f14cc01c36dc82 with podman image mount INFO: image b9afc51d2cf3209fcc3f2fb8d89af9d070b942a66ef8cd9e63f14cc01c36dc82 as /var/lib/containers/storage/overlay/3dce09e51f01f8d608e38a26801a06c10b035667dd1bb1f19cc1761e11224026/merged INFO: umounting image b9afc51d2cf3209fcc3f2fb8d89af9d070b942a66ef8cd9e63f14cc01c36dc82 (/var/lib/containers/storage/overlay/3dce09e51f01f8d608e38a26801a06c10b035667dd1bb1f19cc1761e11224026/merged) with podman image umount INFO: Removing image mock-bootstrap-5b3cafec-5e81-449c-b011-1ea5a144787f INFO: Package manager dnf4 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/rhel-10-x86_64-1780824477.805650/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 dnf4 detected and used (direct choice) INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-4.19.1.1-23.el10.x86_64 rpm-sequoia-1.10.1.1-2.el10.x86_64 python3-dnf-4.20.0-22.el10_2.noarch python3-dnf-plugins-core-4.7.0-10.el10.noarch yum-4.20.0-22.el10_2.noarch Start: installing minimal buildroot with dnf No matches found for the following disable plugin patterns: local, spacewalk, versionlock Updating Subscription Management repositories. Unable to read consumer identity This system is not registered with an entitlement server. You can use subscription-manager to register. Copr repository 41 kB/s | 29 kB 00:00 Additional repo copr_ldivizio_server 113 kB/s | 29 kB 00:00 Additional repo https_dl_fedoraproject_org_pub_ 33 MB/s | 6.8 MB 00:00 Additional repo https_rpms_remirepo_net_enterpr 459 kB/s | 570 kB 00:01 Red Hat Enterprise Linux 10 for x86_64 - BaseOS 45 MB/s | 62 MB 00:01 Red Hat Enterprise Linux 10 for x86_64 - AppStr 11 MB/s | 5.7 MB 00:00 Red Hat CodeReady Linux Builder for RHEL 10 x86 2.4 MB/s | 1.2 MB 00:00 Dependencies resolved. ================================================================================ Package Arch Version Repo Size ================================================================================ Installing: bash x86_64 5.2.26-6.el10 baseos 1.8 M bzip2 x86_64 1.0.8-25.el10 baseos 59 k coreutils x86_64 9.5-7.el10 baseos 1.1 M cpio x86_64 2.15-3.el10 baseos 296 k diffutils x86_64 3.10-8.el10 baseos 413 k findutils x86_64 1:4.10.0-5.el10 baseos 555 k gawk x86_64 5.3.0-6.el10 baseos 1.1 M glibc-minimal-langpack x86_64 2.39-124.el10_2 baseos 33 k grep x86_64 3.11-10.el10 baseos 305 k gzip x86_64 1.13-3.el10 baseos 174 k info x86_64 7.1-6.el10 baseos 187 k patch x86_64 2.7.6-26.el10 appstream 134 k redhat-release x86_64 10.2-21.el10 baseos 62 k redhat-rpm-config noarch 295-1.el10 appstream 81 k rpm-build x86_64 4.19.1.1-23.el10 appstream 82 k sed x86_64 4.9-5.el10 baseos 325 k shadow-utils x86_64 2:4.15.0-11.el10 baseos 1.4 M tar x86_64 2:1.35-11.el10 baseos 873 k unzip x86_64 6.0-69.el10 baseos 190 k util-linux x86_64 2.40.2-18.el10 baseos 1.3 M which x86_64 2.21-44.el10_0 baseos 42 k xz x86_64 1:5.6.2-4.el10_0 baseos 481 k Installing dependencies: alternatives x86_64 1.30-2.el10 baseos 45 k audit-libs x86_64 4.0.3-5.el10 baseos 138 k authselect x86_64 1.5.2-1.el10 baseos 218 k authselect-libs x86_64 1.5.2-1.el10 baseos 261 k basesystem noarch 11-22.el10 baseos 8.3 k binutils x86_64 2.41-63.el10 baseos 6.4 M binutils-gold x86_64 2.41-63.el10 baseos 801 k bzip2-libs x86_64 1.0.8-25.el10 baseos 43 k ca-certificates noarch 2025.2.80_v9.0.305-102.el10_1 baseos 1.1 M coreutils-common x86_64 9.5-7.el10 baseos 2.2 M cracklib x86_64 2.9.11-8.el10 baseos 100 k cracklib-dicts x86_64 2.9.11-8.el10 baseos 3.7 M crypto-policies noarch 20260216-1.git0e54016.el10 baseos 105 k curl x86_64 8.12.1-4.el10 baseos 217 k cyrus-sasl-lib x86_64 2.1.28-30.el10_2 baseos 112 k debugedit x86_64 5.1-8.el10 appstream 80 k dwz x86_64 0.16-1.el10 appstream 140 k ed x86_64 1.20-5.el10 baseos 86 k efi-srpm-macros noarch 6-6.el10 appstream 25 k elfutils x86_64 0.194-2.el10_2 baseos 581 k elfutils-debuginfod-client x86_64 0.194-2.el10_2 baseos 50 k elfutils-default-yama-scope noarch 0.194-2.el10_2 baseos 15 k elfutils-libelf x86_64 0.194-2.el10_2 baseos 208 k elfutils-libs x86_64 0.194-2.el10_2 baseos 273 k file x86_64 5.45-9.el10 baseos 54 k file-libs x86_64 5.45-9.el10 baseos 769 k filesystem x86_64 3.18-17.el10 baseos 4.8 M fonts-srpm-macros noarch 1:2.0.5-18.el10 appstream 29 k forge-srpm-macros noarch 0.4.0-6.el10 appstream 23 k gdb-minimal x86_64 16.3-3.el10 appstream 4.4 M gdbm x86_64 1:1.23-12.el10_0 baseos 156 k gdbm-libs x86_64 1:1.23-12.el10_0 baseos 60 k glibc x86_64 2.39-124.el10_2 baseos 2.1 M glibc-common x86_64 2.39-124.el10_2 baseos 327 k glibc-gconv-extra x86_64 2.39-124.el10_2 baseos 1.7 M gmp x86_64 1:6.2.1-12.el10 baseos 318 k go-srpm-macros noarch 3.8.0-1.el10 appstream 27 k jansson x86_64 2.14-3.el10 baseos 48 k json-c x86_64 0.18-3.el10 baseos 47 k kernel-srpm-macros noarch 1.0-27.el10 appstream 8.8 k keyutils-libs x86_64 1.6.3-5.el10 baseos 35 k krb5-libs x86_64 1.21.3-10.el10_2 baseos 774 k libacl x86_64 2.3.2-4.el10 baseos 27 k libarchive x86_64 3.8.7-1.el10 copr_base 375 k libattr x86_64 2.5.2-5.el10 baseos 20 k libblkid x86_64 2.40.2-18.el10 baseos 131 k libbrotli x86_64 1.1.0-7.el10_1 baseos 344 k libcap x86_64 2.69-7.el10_2.1 baseos 96 k libcap-ng x86_64 0.8.4-6.el10 baseos 36 k libcbor x86_64 0.11.0-3.el10 baseos 36 k libcom_err x86_64 1.47.1-5.el10 baseos 26 k libcurl x86_64 8.12.1-4.el10 baseos 369 k libeconf x86_64 0.6.2-4.el10 baseos 36 k libevent x86_64 2.1.12-16.el10 baseos 265 k libfdisk x86_64 2.40.2-18.el10 baseos 167 k libffi x86_64 3.4.4-10.el10 baseos 41 k libfido2 x86_64 1.14.0-7.el10 baseos 101 k libgcc x86_64 14.3.1-4.4.el10 baseos 146 k libgomp x86_64 14.3.1-4.4.el10 baseos 369 k libidn2 x86_64 2.3.7-3.el10 baseos 122 k libmount x86_64 2.40.2-18.el10 baseos 161 k libnghttp2 x86_64 1.68.0-3.el10_2.1 baseos 79 k libpkgconf x86_64 2.1.0-3.el10 baseos 41 k libpsl x86_64 0.21.5-6.el10 baseos 67 k libpwquality x86_64 1.4.5-12.el10 baseos 127 k libselinux x86_64 3.10-1.el10 baseos 104 k libsemanage x86_64 3.10-1.el10 baseos 128 k libsepol x86_64 3.10-1.el10 baseos 355 k libsmartcols x86_64 2.40.2-18.el10 baseos 90 k libssh x86_64 0.12.0-2.el10 baseos 282 k libssh-config noarch 0.12.0-2.el10 baseos 15 k libstdc++ x86_64 14.3.1-4.4.el10 baseos 926 k libtasn1 x86_64 4.20.0-1.el10 baseos 78 k libunistring x86_64 1.1-10.el10 baseos 550 k libutempter x86_64 1.2.1-15.el10 baseos 30 k libuuid x86_64 2.40.2-18.el10 baseos 35 k libverto x86_64 0.3.2-10.el10 baseos 24 k libxcrypt x86_64 4.4.36-10.el10 baseos 124 k libzstd x86_64 1.5.7-5.el10 copr_base 352 k lua-libs x86_64 5.4.6-7.el10 baseos 134 k lua-srpm-macros noarch 1-15.el10 appstream 10 k mpfr x86_64 4.2.1-8.el10 baseos 352 k ncurses-base noarch 6.4-15.20240127.el10_1 baseos 105 k ncurses-libs x86_64 6.4-15.20240127.el10_1 baseos 344 k ocaml-srpm-macros noarch 10-4.el10 appstream 10 k openblas-srpm-macros noarch 2-19.el10 appstream 9.0 k openldap x86_64 2.6.10-1.el10 baseos 239 k openssl-fips-provider x86_64 3.0.7-8.el10 baseos 9.2 k openssl-fips-provider-so x86_64 3.0.7-8.el10 baseos 576 k openssl-libs x86_64 1:3.5.5-3.el10_2 baseos 2.3 M p11-kit x86_64 0.26.2-1.el10 baseos 565 k p11-kit-trust x86_64 0.26.2-1.el10 baseos 147 k package-notes-srpm-macros noarch 0.5-13.el10 appstream 11 k pam x86_64 1.6.1-9.el10 baseos 584 k pam-libs x86_64 1.6.1-9.el10 baseos 56 k pcre2 x86_64 10.44-1.el10.3 baseos 250 k pcre2-syntax noarch 10.44-1.el10.3 baseos 155 k perl-srpm-macros noarch 1-57.el10 appstream 9.7 k pkgconf x86_64 2.1.0-3.el10 baseos 48 k pkgconf-m4 noarch 2.1.0-3.el10 baseos 15 k pkgconf-pkg-config x86_64 2.1.0-3.el10 baseos 12 k popt x86_64 1.19-8.el10 baseos 70 k publicsuffix-list-dafsa noarch 20240107-5.el10 baseos 60 k pyproject-srpm-macros noarch 1.18.5-1.el10 appstream 13 k python-srpm-macros noarch 3.12-11.el10 appstream 22 k qt6-srpm-macros noarch 6.10.1-1.el10 appstream 9.1 k readline x86_64 8.2-11.el10 baseos 217 k rpm x86_64 4.19.1.1-23.el10 baseos 567 k rpm-build-libs x86_64 4.19.1.1-23.el10 baseos 98 k rpm-libs x86_64 4.19.1.1-23.el10 baseos 316 k rpm-sequoia x86_64 1.10.1.1-2.el10 baseos 975 k rust-toolset-srpm-macros noarch 1.92.0-1.el10 appstream 17 k setup noarch 2.14.5-7.el10 baseos 153 k sqlite-libs x86_64 3.46.1-5.el10_1 baseos 745 k systemd-libs x86_64 257-23.el10_2.2 baseos 847 k util-linux-core x86_64 2.40.2-18.el10 baseos 558 k xz-libs x86_64 1:5.6.2-4.el10_0 baseos 113 k zip x86_64 3.0-45.el10 baseos 270 k zlib-ng-compat x86_64 2.2.3-3.el10_1 baseos 76 k zstd x86_64 1.5.7-5.el10 copr_base 125 k Transaction Summary ================================================================================ Install 142 Packages Total download size: 60 M Installed size: 185 M Downloading Packages: (1/142): zstd-1.5.7-5.el10.x86_64.rpm 1.0 MB/s | 125 kB 00:00 (2/142): libzstd-1.5.7-5.el10.x86_64.rpm 2.0 MB/s | 352 kB 00:00 (3/142): libarchive-3.8.7-1.el10.x86_64.rpm 2.1 MB/s | 375 kB 00:00 (4/142): alternatives-1.30-2.el10.x86_64.rpm 260 kB/s | 45 kB 00:00 (5/142): basesystem-11-22.el10.noarch.rpm 52 kB/s | 8.3 kB 00:00 (6/142): bzip2-1.0.8-25.el10.x86_64.rpm 530 kB/s | 59 kB 00:00 (7/142): bzip2-libs-1.0.8-25.el10.x86_64.rpm 407 kB/s | 43 kB 00:00 (8/142): cpio-2.15-3.el10.x86_64.rpm 2.2 MB/s | 296 kB 00:00 (9/142): bash-5.2.26-6.el10.x86_64.rpm 4.8 MB/s | 1.8 MB 00:00 (10/142): cracklib-2.9.11-8.el10.x86_64.rpm 822 kB/s | 100 kB 00:00 (11/142): diffutils-3.10-8.el10.x86_64.rpm 4.5 MB/s | 413 kB 00:00 (12/142): ed-1.20-5.el10.x86_64.rpm 856 kB/s | 86 kB 00:00 (13/142): cracklib-dicts-2.9.11-8.el10.x86_64.r 18 MB/s | 3.7 MB 00:00 (14/142): findutils-4.10.0-5.el10.x86_64.rpm 5.1 MB/s | 555 kB 00:00 (15/142): gawk-5.3.0-6.el10.x86_64.rpm 6.8 MB/s | 1.1 MB 00:00 (16/142): gdbm-1.23-12.el10_0.x86_64.rpm 1.7 MB/s | 156 kB 00:00 (17/142): gdbm-libs-1.23-12.el10_0.x86_64.rpm 662 kB/s | 60 kB 00:00 (18/142): grep-3.11-10.el10.x86_64.rpm 3.0 MB/s | 305 kB 00:00 (19/142): gzip-1.13-3.el10.x86_64.rpm 1.9 MB/s | 174 kB 00:00 (20/142): info-7.1-6.el10.x86_64.rpm 1.9 MB/s | 187 kB 00:00 (21/142): json-c-0.18-3.el10.x86_64.rpm 514 kB/s | 47 kB 00:00 (22/142): keyutils-libs-1.6.3-5.el10.x86_64.rpm 393 kB/s | 35 kB 00:00 (23/142): jansson-2.14-3.el10.x86_64.rpm 454 kB/s | 48 kB 00:00 (24/142): libacl-2.3.2-4.el10.x86_64.rpm 301 kB/s | 27 kB 00:00 (25/142): libcap-ng-0.8.4-6.el10.x86_64.rpm 411 kB/s | 36 kB 00:00 (26/142): libattr-2.5.2-5.el10.x86_64.rpm 184 kB/s | 20 kB 00:00 (27/142): libcbor-0.11.0-3.el10.x86_64.rpm 376 kB/s | 36 kB 00:00 (28/142): libeconf-0.6.2-4.el10.x86_64.rpm 400 kB/s | 36 kB 00:00 (29/142): libevent-2.1.12-16.el10.x86_64.rpm 2.8 MB/s | 265 kB 00:00 (30/142): libidn2-2.3.7-3.el10.x86_64.rpm 1.3 MB/s | 122 kB 00:00 (31/142): libpkgconf-2.1.0-3.el10.x86_64.rpm 456 kB/s | 41 kB 00:00 (32/142): libfido2-1.14.0-7.el10.x86_64.rpm 786 kB/s | 101 kB 00:00 (33/142): libtasn1-4.20.0-1.el10.x86_64.rpm 833 kB/s | 78 kB 00:00 (34/142): libpwquality-1.4.5-12.el10.x86_64.rpm 1.2 MB/s | 127 kB 00:00 (35/142): libpsl-0.21.5-6.el10.x86_64.rpm 433 kB/s | 67 kB 00:00 (36/142): libunistring-1.1-10.el10.x86_64.rpm 5.4 MB/s | 550 kB 00:00 (37/142): libutempter-1.2.1-15.el10.x86_64.rpm 279 kB/s | 30 kB 00:00 (38/142): libverto-0.3.2-10.el10.x86_64.rpm 227 kB/s | 24 kB 00:00 (39/142): libxcrypt-4.4.36-10.el10.x86_64.rpm 1.3 MB/s | 124 kB 00:00 (40/142): lua-libs-5.4.6-7.el10.x86_64.rpm 1.5 MB/s | 134 kB 00:00 (41/142): pcre2-10.44-1.el10.3.x86_64.rpm 2.7 MB/s | 250 kB 00:00 (42/142): pkgconf-2.1.0-3.el10.x86_64.rpm 543 kB/s | 48 kB 00:00 (43/142): pcre2-syntax-10.44-1.el10.3.noarch.rp 1.5 MB/s | 155 kB 00:00 (44/142): pkgconf-m4-2.1.0-3.el10.noarch.rpm 177 kB/s | 15 kB 00:00 (45/142): popt-1.19-8.el10.x86_64.rpm 786 kB/s | 70 kB 00:00 (46/142): pkgconf-pkg-config-2.1.0-3.el10.x86_6 115 kB/s | 12 kB 00:00 (47/142): publicsuffix-list-dafsa-20240107-5.el 604 kB/s | 60 kB 00:00 (48/142): readline-8.2-11.el10.x86_64.rpm 2.1 MB/s | 217 kB 00:00 (49/142): which-2.21-44.el10_0.x86_64.rpm 423 kB/s | 42 kB 00:00 (50/142): xz-5.6.2-4.el10_0.x86_64.rpm 4.2 MB/s | 481 kB 00:00 (51/142): xz-libs-5.6.2-4.el10_0.x86_64.rpm 1.2 MB/s | 113 kB 00:00 (52/142): filesystem-3.18-17.el10.x86_64.rpm 37 MB/s | 4.8 MB 00:00 (53/142): gmp-6.2.1-12.el10.x86_64.rpm 3.2 MB/s | 318 kB 00:00 (54/142): libffi-3.4.4-10.el10.x86_64.rpm 368 kB/s | 41 kB 00:00 (55/142): openssl-fips-provider-so-3.0.7-8.el10 5.9 MB/s | 576 kB 00:00 (56/142): openssl-fips-provider-3.0.7-8.el10.x8 68 kB/s | 9.2 kB 00:00 (57/142): setup-2.14.5-7.el10.noarch.rpm 1.6 MB/s | 153 kB 00:00 (58/142): sqlite-libs-3.46.1-5.el10_1.x86_64.rp 6.8 MB/s | 745 kB 00:00 (59/142): unzip-6.0-69.el10.x86_64.rpm 2.1 MB/s | 190 kB 00:00 (60/142): zip-3.0-45.el10.x86_64.rpm 3.0 MB/s | 270 kB 00:00 (61/142): libbrotli-1.1.0-7.el10_1.x86_64.rpm 3.8 MB/s | 344 kB 00:00 (62/142): ca-certificates-2025.2.80_v9.0.305-10 9.6 MB/s | 1.1 MB 00:00 (63/142): ncurses-base-6.4-15.20240127.el10_1.n 1.0 MB/s | 105 kB 00:00 (64/142): ncurses-libs-6.4-15.20240127.el10_1.x 3.5 MB/s | 344 kB 00:00 (65/142): zlib-ng-compat-2.2.3-3.el10_1.x86_64. 738 kB/s | 76 kB 00:00 (66/142): audit-libs-4.0.3-5.el10.x86_64.rpm 1.3 MB/s | 138 kB 00:00 (67/142): authselect-1.5.2-1.el10.x86_64.rpm 2.4 MB/s | 218 kB 00:00 (68/142): authselect-libs-1.5.2-1.el10.x86_64.r 2.1 MB/s | 261 kB 00:00 (69/142): binutils-gold-2.41-63.el10.x86_64.rpm 8.3 MB/s | 801 kB 00:00 (70/142): binutils-2.41-63.el10.x86_64.rpm 26 MB/s | 6.4 MB 00:00 (71/142): coreutils-common-9.5-7.el10.x86_64.rp 20 MB/s | 2.2 MB 00:00 (72/142): coreutils-9.5-7.el10.x86_64.rpm 4.8 MB/s | 1.1 MB 00:00 (73/142): crypto-policies-20260216-1.git0e54016 1.0 MB/s | 105 kB 00:00 (74/142): curl-8.12.1-4.el10.x86_64.rpm 1.9 MB/s | 217 kB 00:00 (75/142): elfutils-0.194-2.el10_2.x86_64.rpm 5.2 MB/s | 581 kB 00:00 (76/142): elfutils-default-yama-scope-0.194-2.e 161 kB/s | 15 kB 00:00 (77/142): elfutils-debuginfod-client-0.194-2.el 441 kB/s | 50 kB 00:00 (78/142): elfutils-libs-0.194-2.el10_2.x86_64.r 2.8 MB/s | 273 kB 00:00 (79/142): file-5.45-9.el10.x86_64.rpm 555 kB/s | 54 kB 00:00 (80/142): elfutils-libelf-0.194-2.el10_2.x86_64 1.7 MB/s | 208 kB 00:00 (81/142): file-libs-5.45-9.el10.x86_64.rpm 8.3 MB/s | 769 kB 00:00 (82/142): libblkid-2.40.2-18.el10.x86_64.rpm 1.2 MB/s | 131 kB 00:00 (83/142): libcom_err-1.47.1-5.el10.x86_64.rpm 225 kB/s | 26 kB 00:00 (84/142): libcurl-8.12.1-4.el10.x86_64.rpm 3.9 MB/s | 369 kB 00:00 (85/142): libfdisk-2.40.2-18.el10.x86_64.rpm 1.8 MB/s | 167 kB 00:00 (86/142): libgcc-14.3.1-4.4.el10.x86_64.rpm 1.5 MB/s | 146 kB 00:00 (87/142): libgomp-14.3.1-4.4.el10.x86_64.rpm 4.0 MB/s | 369 kB 00:00 (88/142): libmount-2.40.2-18.el10.x86_64.rpm 1.2 MB/s | 161 kB 00:00 (89/142): libnghttp2-1.68.0-3.el10_2.1.x86_64.r 599 kB/s | 79 kB 00:00 (90/142): libselinux-3.10-1.el10.x86_64.rpm 1.1 MB/s | 104 kB 00:00 (91/142): libsemanage-3.10-1.el10.x86_64.rpm 1.2 MB/s | 128 kB 00:00 (92/142): libsmartcols-2.40.2-18.el10.x86_64.rp 867 kB/s | 90 kB 00:00 (93/142): libssh-0.12.0-2.el10.x86_64.rpm 3.0 MB/s | 282 kB 00:00 (94/142): libsepol-3.10-1.el10.x86_64.rpm 1.9 MB/s | 355 kB 00:00 (95/142): libssh-config-0.12.0-2.el10.noarch.rp 165 kB/s | 15 kB 00:00 (96/142): libstdc++-14.3.1-4.4.el10.x86_64.rpm 9.9 MB/s | 926 kB 00:00 (97/142): libuuid-2.40.2-18.el10.x86_64.rpm 393 kB/s | 35 kB 00:00 (98/142): mpfr-4.2.1-8.el10.x86_64.rpm 3.4 MB/s | 352 kB 00:00 (99/142): openldap-2.6.10-1.el10.x86_64.rpm 2.6 MB/s | 239 kB 00:00 (100/142): p11-kit-0.26.2-1.el10.x86_64.rpm 5.0 MB/s | 565 kB 00:00 (101/142): p11-kit-trust-0.26.2-1.el10.x86_64.r 1.4 MB/s | 147 kB 00:00 (102/142): pam-libs-1.6.1-9.el10.x86_64.rpm 630 kB/s | 56 kB 00:00 (103/142): pam-1.6.1-9.el10.x86_64.rpm 4.9 MB/s | 584 kB 00:00 (104/142): rpm-4.19.1.1-23.el10.x86_64.rpm 4.7 MB/s | 567 kB 00:00 (105/142): rpm-build-libs-4.19.1.1-23.el10.x86_ 1.0 MB/s | 98 kB 00:00 (106/142): rpm-libs-4.19.1.1-23.el10.x86_64.rpm 2.2 MB/s | 316 kB 00:00 (107/142): sed-4.9-5.el10.x86_64.rpm 2.6 MB/s | 325 kB 00:00 (108/142): rpm-sequoia-1.10.1.1-2.el10.x86_64.r 4.7 MB/s | 975 kB 00:00 (109/142): shadow-utils-4.15.0-11.el10.x86_64.r 8.7 MB/s | 1.4 MB 00:00 (110/142): util-linux-2.40.2-18.el10.x86_64.rpm 9.7 MB/s | 1.3 MB 00:00 (111/142): tar-1.35-11.el10.x86_64.rpm 4.9 MB/s | 873 kB 00:00 (112/142): util-linux-core-2.40.2-18.el10.x86_6 5.6 MB/s | 558 kB 00:00 (113/142): redhat-release-10.2-21.el10.x86_64.r 633 kB/s | 62 kB 00:00 (114/142): krb5-libs-1.21.3-10.el10_2.x86_64.rp 6.6 MB/s | 774 kB 00:00 (115/142): libcap-2.69-7.el10_2.1.x86_64.rpm 827 kB/s | 96 kB 00:00 (116/142): glibc-gconv-extra-2.39-124.el10_2.x8 17 MB/s | 1.7 MB 00:00 (117/142): glibc-2.39-124.el10_2.x86_64.rpm 14 MB/s | 2.1 MB 00:00 (118/142): glibc-common-2.39-124.el10_2.x86_64. 1.8 MB/s | 327 kB 00:00 (119/142): glibc-minimal-langpack-2.39-124.el10 330 kB/s | 33 kB 00:00 (120/142): systemd-libs-257-23.el10_2.2.x86_64. 8.8 MB/s | 847 kB 00:00 (121/142): openssl-libs-3.5.5-3.el10_2.x86_64.r 14 MB/s | 2.3 MB 00:00 (122/142): fonts-srpm-macros-2.0.5-18.el10.noar 317 kB/s | 29 kB 00:00 (123/142): perl-srpm-macros-1-57.el10.noarch.rp 107 kB/s | 9.7 kB 00:00 (124/142): cyrus-sasl-lib-2.1.28-30.el10_2.x86_ 468 kB/s | 112 kB 00:00 (125/142): efi-srpm-macros-6-6.el10.noarch.rpm 275 kB/s | 25 kB 00:00 (126/142): lua-srpm-macros-1-15.el10.noarch.rpm 119 kB/s | 10 kB 00:00 (127/142): package-notes-srpm-macros-0.5-13.el1 98 kB/s | 11 kB 00:00 (128/142): openblas-srpm-macros-2-19.el10.noarc 89 kB/s | 9.0 kB 00:00 (129/142): ocaml-srpm-macros-10-4.el10.noarch.r 71 kB/s | 10 kB 00:00 (130/142): patch-2.7.6-26.el10.x86_64.rpm 1.4 MB/s | 134 kB 00:00 (131/142): forge-srpm-macros-0.4.0-6.el10.noarc 242 kB/s | 23 kB 00:00 (132/142): dwz-0.16-1.el10.x86_64.rpm 1.2 MB/s | 140 kB 00:00 (133/142): debugedit-5.1-8.el10.x86_64.rpm 513 kB/s | 80 kB 00:00 (134/142): gdb-minimal-16.3-3.el10.x86_64.rpm 32 MB/s | 4.4 MB 00:00 (135/142): go-srpm-macros-3.8.0-1.el10.noarch.r 297 kB/s | 27 kB 00:00 (136/142): redhat-rpm-config-295-1.el10.noarch. 819 kB/s | 81 kB 00:00 (137/142): kernel-srpm-macros-1.0-27.el10.noarc 91 kB/s | 8.8 kB 00:00 (138/142): pyproject-srpm-macros-1.18.5-1.el10. 142 kB/s | 13 kB 00:00 (139/142): python-srpm-macros-3.12-11.el10.noar 209 kB/s | 22 kB 00:00 (140/142): qt6-srpm-macros-6.10.1-1.el10.noarch 91 kB/s | 9.1 kB 00:00 (141/142): rpm-build-4.19.1.1-23.el10.x86_64.rp 868 kB/s | 82 kB 00:00 (142/142): rust-toolset-srpm-macros-1.92.0-1.el 177 kB/s | 17 kB 00:00 -------------------------------------------------------------------------------- Total 11 MB/s | 60 MB 00:05 Red Hat Enterprise Linux 10 for x86_64 - BaseOS 20 MB/s | 20 kB 00:00 Importing GPG key 0x05707A62: Userid : "Red Hat, Inc. (release key 4) " Fingerprint: FCD3 55B3 0570 7A62 DA14 3AB6 E422 397E 50FE 8467 A2A9 5343 D246 D627 6AFE DF8F From : /usr/share/distribution-gpg-keys/redhat/RPM-GPG-KEY-redhat10-release Key imported successfully Importing GPG key 0x5A6340B3: Userid : "Red Hat, Inc. (auxiliary key 3) " Fingerprint: 7E46 2425 8C40 6535 D56D 6F13 5054 E4A4 5A63 40B3 From : /usr/share/distribution-gpg-keys/redhat/RPM-GPG-KEY-redhat10-release Key imported successfully Importing GPG key 0xFD431D51: Userid : "Red Hat, Inc. (release key 2) " Fingerprint: 567E 347A D004 4ADE 55BA 8A5F 199E 2F91 FD43 1D51 From : /usr/share/distribution-gpg-keys/redhat/RPM-GPG-KEY-redhat10-release Key imported successfully Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Running scriptlet: filesystem-3.18-17.el10.x86_64 1/1 Preparing : 1/1 Installing : libgcc-14.3.1-4.4.el10.x86_64 1/142 Running scriptlet: libgcc-14.3.1-4.4.el10.x86_64 1/142 Installing : rust-toolset-srpm-macros-1.92.0-1.el10.noarch 2/142 Installing : qt6-srpm-macros-6.10.1-1.el10.noarch 3/142 Installing : kernel-srpm-macros-1.0-27.el10.noarch 4/142 Installing : openblas-srpm-macros-2-19.el10.noarch 5/142 Installing : ocaml-srpm-macros-10-4.el10.noarch 6/142 Installing : package-notes-srpm-macros-0.5-13.el10.noarch 7/142 Installing : perl-srpm-macros-1-57.el10.noarch 8/142 Installing : redhat-release-10.2-21.el10.x86_64 9/142 Installing : setup-2.14.5-7.el10.noarch 10/142 Running scriptlet: setup-2.14.5-7.el10.noarch 10/142 Installing : filesystem-3.18-17.el10.x86_64 11/142 Installing : basesystem-11-22.el10.noarch 12/142 Installing : libssh-config-0.12.0-2.el10.noarch 13/142 Installing : coreutils-common-9.5-7.el10.x86_64 14/142 Installing : ncurses-base-6.4-15.20240127.el10_1.noarch 15/142 Installing : bash-5.2.26-6.el10.x86_64 16/142 Running scriptlet: bash-5.2.26-6.el10.x86_64 16/142 Installing : ncurses-libs-6.4-15.20240127.el10_1.x86_64 17/142 Installing : glibc-gconv-extra-2.39-124.el10_2.x86_64 18/142 Running scriptlet: glibc-gconv-extra-2.39-124.el10_2.x86_64 18/142 Installing : glibc-common-2.39-124.el10_2.x86_64 19/142 Installing : glibc-minimal-langpack-2.39-124.el10_2.x86_64 20/142 Running scriptlet: glibc-2.39-124.el10_2.x86_64 21/142 Installing : glibc-2.39-124.el10_2.x86_64 21/142 Running scriptlet: glibc-2.39-124.el10_2.x86_64 21/142 Installing : zlib-ng-compat-2.2.3-3.el10_1.x86_64 22/142 Installing : bzip2-libs-1.0.8-25.el10.x86_64 23/142 Installing : libzstd-1.5.7-5.el10.x86_64 24/142 Installing : elfutils-libelf-0.194-2.el10_2.x86_64 25/142 Installing : popt-1.19-8.el10.x86_64 26/142 Installing : readline-8.2-11.el10.x86_64 27/142 Installing : libuuid-2.40.2-18.el10.x86_64 28/142 Installing : libblkid-2.40.2-18.el10.x86_64 29/142 Installing : libattr-2.5.2-5.el10.x86_64 30/142 Installing : libacl-2.3.2-4.el10.x86_64 31/142 Installing : libxcrypt-4.4.36-10.el10.x86_64 32/142 Installing : xz-libs-1:5.6.2-4.el10_0.x86_64 33/142 Installing : gmp-1:6.2.1-12.el10.x86_64 34/142 Installing : libstdc++-14.3.1-4.4.el10.x86_64 35/142 Installing : gdbm-libs-1:1.23-12.el10_0.x86_64 36/142 Installing : libeconf-0.6.2-4.el10.x86_64 37/142 Running scriptlet: crypto-policies-20260216-1.git0e54016.el10.noarc 38/142 Installing : crypto-policies-20260216-1.git0e54016.el10.noarc 38/142 Running scriptlet: crypto-policies-20260216-1.git0e54016.el10.noarc 38/142 Installing : mpfr-4.2.1-8.el10.x86_64 39/142 Installing : gawk-5.3.0-6.el10.x86_64 40/142 Installing : dwz-0.16-1.el10.x86_64 41/142 Installing : unzip-6.0-69.el10.x86_64 42/142 Installing : file-libs-5.45-9.el10.x86_64 43/142 Installing : file-5.45-9.el10.x86_64 44/142 Installing : alternatives-1.30-2.el10.x86_64 45/142 Installing : jansson-2.14-3.el10.x86_64 46/142 Installing : libcap-ng-0.8.4-6.el10.x86_64 47/142 Installing : audit-libs-4.0.3-5.el10.x86_64 48/142 Installing : pam-libs-1.6.1-9.el10.x86_64 49/142 Installing : libcap-2.69-7.el10_2.1.x86_64 50/142 Installing : systemd-libs-257-23.el10_2.2.x86_64 51/142 Installing : libtasn1-4.20.0-1.el10.x86_64 52/142 Installing : libunistring-1.1-10.el10.x86_64 53/142 Installing : libidn2-2.3.7-3.el10.x86_64 54/142 Installing : lua-libs-5.4.6-7.el10.x86_64 55/142 Installing : libffi-3.4.4-10.el10.x86_64 56/142 Installing : libsepol-3.10-1.el10.x86_64 57/142 Installing : libsmartcols-2.40.2-18.el10.x86_64 58/142 Installing : p11-kit-0.26.2-1.el10.x86_64 59/142 Installing : p11-kit-trust-0.26.2-1.el10.x86_64 60/142 Running scriptlet: p11-kit-trust-0.26.2-1.el10.x86_64 60/142 Installing : zip-3.0-45.el10.x86_64 61/142 Installing : gdbm-1:1.23-12.el10_0.x86_64 62/142 Installing : cyrus-sasl-lib-2.1.28-30.el10_2.x86_64 63/142 Installing : libfdisk-2.40.2-18.el10.x86_64 64/142 Installing : zstd-1.5.7-5.el10.x86_64 65/142 Installing : bzip2-1.0.8-25.el10.x86_64 66/142 Installing : sqlite-libs-3.46.1-5.el10_1.x86_64 67/142 Installing : cpio-2.15-3.el10.x86_64 68/142 Installing : diffutils-3.10-8.el10.x86_64 69/142 Installing : ed-1.20-5.el10.x86_64 70/142 Installing : json-c-0.18-3.el10.x86_64 71/142 Installing : keyutils-libs-1.6.3-5.el10.x86_64 72/142 Installing : libcbor-0.11.0-3.el10.x86_64 73/142 Installing : libpkgconf-2.1.0-3.el10.x86_64 74/142 Installing : pkgconf-2.1.0-3.el10.x86_64 75/142 Installing : libverto-0.3.2-10.el10.x86_64 76/142 Installing : libbrotli-1.1.0-7.el10_1.x86_64 77/142 Installing : libcom_err-1.47.1-5.el10.x86_64 78/142 Installing : libgomp-14.3.1-4.4.el10.x86_64 79/142 Installing : libnghttp2-1.68.0-3.el10_2.1.x86_64 80/142 Installing : elfutils-default-yama-scope-0.194-2.el10_2.noarc 81/142 Running scriptlet: elfutils-default-yama-scope-0.194-2.el10_2.noarc 81/142 Installing : publicsuffix-list-dafsa-20240107-5.el10.noarch 82/142 Installing : libpsl-0.21.5-6.el10.x86_64 83/142 Installing : pkgconf-m4-2.1.0-3.el10.noarch 84/142 Installing : pkgconf-pkg-config-2.1.0-3.el10.x86_64 85/142 Installing : pcre2-syntax-10.44-1.el10.3.noarch 86/142 Installing : pcre2-10.44-1.el10.3.x86_64 87/142 Installing : libselinux-3.10-1.el10.x86_64 88/142 Installing : sed-4.9-5.el10.x86_64 89/142 Installing : findutils-1:4.10.0-5.el10.x86_64 90/142 Installing : grep-3.11-10.el10.x86_64 91/142 Installing : xz-1:5.6.2-4.el10_0.x86_64 92/142 Installing : libmount-2.40.2-18.el10.x86_64 93/142 Installing : util-linux-core-2.40.2-18.el10.x86_64 94/142 Installing : openssl-fips-provider-so-3.0.7-8.el10.x86_64 95/142 Installing : openssl-fips-provider-3.0.7-8.el10.x86_64 96/142 Installing : openssl-libs-1:3.5.5-3.el10_2.x86_64 97/142 Installing : coreutils-9.5-7.el10.x86_64 98/142 Running scriptlet: ca-certificates-2025.2.80_v9.0.305-102.el10_1.no 99/142 Installing : ca-certificates-2025.2.80_v9.0.305-102.el10_1.no 99/142 Running scriptlet: ca-certificates-2025.2.80_v9.0.305-102.el10_1.no 99/142 Installing : gzip-1.13-3.el10.x86_64 100/142 Installing : cracklib-2.9.11-8.el10.x86_64 101/142 Installing : authselect-libs-1.5.2-1.el10.x86_64 102/142 Installing : krb5-libs-1.21.3-10.el10_2.x86_64 103/142 Installing : libarchive-3.8.7-1.el10.x86_64 104/142 Installing : cracklib-dicts-2.9.11-8.el10.x86_64 105/142 Installing : libpwquality-1.4.5-12.el10.x86_64 106/142 Installing : pam-1.6.1-9.el10.x86_64 107/142 Installing : libevent-2.1.12-16.el10.x86_64 108/142 Installing : libfido2-1.14.0-7.el10.x86_64 109/142 Installing : libssh-0.12.0-2.el10.x86_64 110/142 Installing : rpm-sequoia-1.10.1.1-2.el10.x86_64 111/142 Installing : rpm-libs-4.19.1.1-23.el10.x86_64 112/142 Installing : libsemanage-3.10-1.el10.x86_64 113/142 Installing : shadow-utils-2:4.15.0-11.el10.x86_64 114/142 Running scriptlet: libutempter-1.2.1-15.el10.x86_64 115/142 Installing : libutempter-1.2.1-15.el10.x86_64 115/142 Installing : openldap-2.6.10-1.el10.x86_64 116/142 Installing : libcurl-8.12.1-4.el10.x86_64 117/142 Installing : elfutils-debuginfod-client-0.194-2.el10_2.x86_64 118/142 Installing : elfutils-libs-0.194-2.el10_2.x86_64 119/142 Installing : binutils-gold-2.41-63.el10.x86_64 120/142 Running scriptlet: binutils-gold-2.41-63.el10.x86_64 120/142 Installing : binutils-2.41-63.el10.x86_64 121/142 Running scriptlet: binutils-2.41-63.el10.x86_64 121/142 Installing : elfutils-0.194-2.el10_2.x86_64 122/142 Installing : gdb-minimal-16.3-3.el10.x86_64 123/142 Installing : debugedit-5.1-8.el10.x86_64 124/142 Installing : rpm-build-libs-4.19.1.1-23.el10.x86_64 125/142 Installing : curl-8.12.1-4.el10.x86_64 126/142 Running scriptlet: rpm-4.19.1.1-23.el10.x86_64 127/142 Installing : rpm-4.19.1.1-23.el10.x86_64 127/142 Installing : efi-srpm-macros-6-6.el10.noarch 128/142 Installing : lua-srpm-macros-1-15.el10.noarch 129/142 Installing : tar-2:1.35-11.el10.x86_64 130/142 Installing : patch-2.7.6-26.el10.x86_64 131/142 Installing : fonts-srpm-macros-1:2.0.5-18.el10.noarch 132/142 Installing : forge-srpm-macros-0.4.0-6.el10.noarch 133/142 Installing : go-srpm-macros-3.8.0-1.el10.noarch 134/142 Installing : python-srpm-macros-3.12-11.el10.noarch 135/142 Installing : redhat-rpm-config-295-1.el10.noarch 136/142 Installing : rpm-build-4.19.1.1-23.el10.x86_64 137/142 Installing : pyproject-srpm-macros-1.18.5-1.el10.noarch 138/142 Installing : util-linux-2.40.2-18.el10.x86_64 139/142 Running scriptlet: util-linux-2.40.2-18.el10.x86_64 139/142 Installing : authselect-1.5.2-1.el10.x86_64 140/142 Installing : which-2.21-44.el10_0.x86_64 141/142 Installing : info-7.1-6.el10.x86_64 142/142 Running scriptlet: filesystem-3.18-17.el10.x86_64 142/142 Running scriptlet: ca-certificates-2025.2.80_v9.0.305-102.el10_1.no 142/142 Running scriptlet: authselect-libs-1.5.2-1.el10.x86_64 142/142 Running scriptlet: rpm-4.19.1.1-23.el10.x86_64 142/142 Running scriptlet: info-7.1-6.el10.x86_64 142/142 Installed products updated. Installed: alternatives-1.30-2.el10.x86_64 audit-libs-4.0.3-5.el10.x86_64 authselect-1.5.2-1.el10.x86_64 authselect-libs-1.5.2-1.el10.x86_64 basesystem-11-22.el10.noarch bash-5.2.26-6.el10.x86_64 binutils-2.41-63.el10.x86_64 binutils-gold-2.41-63.el10.x86_64 bzip2-1.0.8-25.el10.x86_64 bzip2-libs-1.0.8-25.el10.x86_64 ca-certificates-2025.2.80_v9.0.305-102.el10_1.noarch coreutils-9.5-7.el10.x86_64 coreutils-common-9.5-7.el10.x86_64 cpio-2.15-3.el10.x86_64 cracklib-2.9.11-8.el10.x86_64 cracklib-dicts-2.9.11-8.el10.x86_64 crypto-policies-20260216-1.git0e54016.el10.noarch curl-8.12.1-4.el10.x86_64 cyrus-sasl-lib-2.1.28-30.el10_2.x86_64 debugedit-5.1-8.el10.x86_64 diffutils-3.10-8.el10.x86_64 dwz-0.16-1.el10.x86_64 ed-1.20-5.el10.x86_64 efi-srpm-macros-6-6.el10.noarch elfutils-0.194-2.el10_2.x86_64 elfutils-debuginfod-client-0.194-2.el10_2.x86_64 elfutils-default-yama-scope-0.194-2.el10_2.noarch elfutils-libelf-0.194-2.el10_2.x86_64 elfutils-libs-0.194-2.el10_2.x86_64 file-5.45-9.el10.x86_64 file-libs-5.45-9.el10.x86_64 filesystem-3.18-17.el10.x86_64 findutils-1:4.10.0-5.el10.x86_64 fonts-srpm-macros-1:2.0.5-18.el10.noarch forge-srpm-macros-0.4.0-6.el10.noarch gawk-5.3.0-6.el10.x86_64 gdb-minimal-16.3-3.el10.x86_64 gdbm-1:1.23-12.el10_0.x86_64 gdbm-libs-1:1.23-12.el10_0.x86_64 glibc-2.39-124.el10_2.x86_64 glibc-common-2.39-124.el10_2.x86_64 glibc-gconv-extra-2.39-124.el10_2.x86_64 glibc-minimal-langpack-2.39-124.el10_2.x86_64 gmp-1:6.2.1-12.el10.x86_64 go-srpm-macros-3.8.0-1.el10.noarch grep-3.11-10.el10.x86_64 gzip-1.13-3.el10.x86_64 info-7.1-6.el10.x86_64 jansson-2.14-3.el10.x86_64 json-c-0.18-3.el10.x86_64 kernel-srpm-macros-1.0-27.el10.noarch keyutils-libs-1.6.3-5.el10.x86_64 krb5-libs-1.21.3-10.el10_2.x86_64 libacl-2.3.2-4.el10.x86_64 libarchive-3.8.7-1.el10.x86_64 libattr-2.5.2-5.el10.x86_64 libblkid-2.40.2-18.el10.x86_64 libbrotli-1.1.0-7.el10_1.x86_64 libcap-2.69-7.el10_2.1.x86_64 libcap-ng-0.8.4-6.el10.x86_64 libcbor-0.11.0-3.el10.x86_64 libcom_err-1.47.1-5.el10.x86_64 libcurl-8.12.1-4.el10.x86_64 libeconf-0.6.2-4.el10.x86_64 libevent-2.1.12-16.el10.x86_64 libfdisk-2.40.2-18.el10.x86_64 libffi-3.4.4-10.el10.x86_64 libfido2-1.14.0-7.el10.x86_64 libgcc-14.3.1-4.4.el10.x86_64 libgomp-14.3.1-4.4.el10.x86_64 libidn2-2.3.7-3.el10.x86_64 libmount-2.40.2-18.el10.x86_64 libnghttp2-1.68.0-3.el10_2.1.x86_64 libpkgconf-2.1.0-3.el10.x86_64 libpsl-0.21.5-6.el10.x86_64 libpwquality-1.4.5-12.el10.x86_64 libselinux-3.10-1.el10.x86_64 libsemanage-3.10-1.el10.x86_64 libsepol-3.10-1.el10.x86_64 libsmartcols-2.40.2-18.el10.x86_64 libssh-0.12.0-2.el10.x86_64 libssh-config-0.12.0-2.el10.noarch libstdc++-14.3.1-4.4.el10.x86_64 libtasn1-4.20.0-1.el10.x86_64 libunistring-1.1-10.el10.x86_64 libutempter-1.2.1-15.el10.x86_64 libuuid-2.40.2-18.el10.x86_64 libverto-0.3.2-10.el10.x86_64 libxcrypt-4.4.36-10.el10.x86_64 libzstd-1.5.7-5.el10.x86_64 lua-libs-5.4.6-7.el10.x86_64 lua-srpm-macros-1-15.el10.noarch mpfr-4.2.1-8.el10.x86_64 ncurses-base-6.4-15.20240127.el10_1.noarch ncurses-libs-6.4-15.20240127.el10_1.x86_64 ocaml-srpm-macros-10-4.el10.noarch openblas-srpm-macros-2-19.el10.noarch openldap-2.6.10-1.el10.x86_64 openssl-fips-provider-3.0.7-8.el10.x86_64 openssl-fips-provider-so-3.0.7-8.el10.x86_64 openssl-libs-1:3.5.5-3.el10_2.x86_64 p11-kit-0.26.2-1.el10.x86_64 p11-kit-trust-0.26.2-1.el10.x86_64 package-notes-srpm-macros-0.5-13.el10.noarch pam-1.6.1-9.el10.x86_64 pam-libs-1.6.1-9.el10.x86_64 patch-2.7.6-26.el10.x86_64 pcre2-10.44-1.el10.3.x86_64 pcre2-syntax-10.44-1.el10.3.noarch perl-srpm-macros-1-57.el10.noarch pkgconf-2.1.0-3.el10.x86_64 pkgconf-m4-2.1.0-3.el10.noarch pkgconf-pkg-config-2.1.0-3.el10.x86_64 popt-1.19-8.el10.x86_64 publicsuffix-list-dafsa-20240107-5.el10.noarch pyproject-srpm-macros-1.18.5-1.el10.noarch python-srpm-macros-3.12-11.el10.noarch qt6-srpm-macros-6.10.1-1.el10.noarch readline-8.2-11.el10.x86_64 redhat-release-10.2-21.el10.x86_64 redhat-rpm-config-295-1.el10.noarch rpm-4.19.1.1-23.el10.x86_64 rpm-build-4.19.1.1-23.el10.x86_64 rpm-build-libs-4.19.1.1-23.el10.x86_64 rpm-libs-4.19.1.1-23.el10.x86_64 rpm-sequoia-1.10.1.1-2.el10.x86_64 rust-toolset-srpm-macros-1.92.0-1.el10.noarch sed-4.9-5.el10.x86_64 setup-2.14.5-7.el10.noarch shadow-utils-2:4.15.0-11.el10.x86_64 sqlite-libs-3.46.1-5.el10_1.x86_64 systemd-libs-257-23.el10_2.2.x86_64 tar-2:1.35-11.el10.x86_64 unzip-6.0-69.el10.x86_64 util-linux-2.40.2-18.el10.x86_64 util-linux-core-2.40.2-18.el10.x86_64 which-2.21-44.el10_0.x86_64 xz-1:5.6.2-4.el10_0.x86_64 xz-libs-1:5.6.2-4.el10_0.x86_64 zip-3.0-45.el10.x86_64 zlib-ng-compat-2.2.3-3.el10_1.x86_64 zstd-1.5.7-5.el10.x86_64 Complete! Finish: installing minimal buildroot with dnf Start: creating root cache Finish: creating root cache Finish: chroot init INFO: Installed packages: INFO: alternatives-1.30-2.el10.x86_64 audit-libs-4.0.3-5.el10.x86_64 authselect-1.5.2-1.el10.x86_64 authselect-libs-1.5.2-1.el10.x86_64 basesystem-11-22.el10.noarch bash-5.2.26-6.el10.x86_64 binutils-2.41-63.el10.x86_64 binutils-gold-2.41-63.el10.x86_64 bzip2-1.0.8-25.el10.x86_64 bzip2-libs-1.0.8-25.el10.x86_64 ca-certificates-2025.2.80_v9.0.305-102.el10_1.noarch coreutils-9.5-7.el10.x86_64 coreutils-common-9.5-7.el10.x86_64 cpio-2.15-3.el10.x86_64 cracklib-2.9.11-8.el10.x86_64 cracklib-dicts-2.9.11-8.el10.x86_64 crypto-policies-20260216-1.git0e54016.el10.noarch curl-8.12.1-4.el10.x86_64 cyrus-sasl-lib-2.1.28-30.el10_2.x86_64 debugedit-5.1-8.el10.x86_64 diffutils-3.10-8.el10.x86_64 dwz-0.16-1.el10.x86_64 ed-1.20-5.el10.x86_64 efi-srpm-macros-6-6.el10.noarch elfutils-0.194-2.el10_2.x86_64 elfutils-debuginfod-client-0.194-2.el10_2.x86_64 elfutils-default-yama-scope-0.194-2.el10_2.noarch elfutils-libelf-0.194-2.el10_2.x86_64 elfutils-libs-0.194-2.el10_2.x86_64 file-5.45-9.el10.x86_64 file-libs-5.45-9.el10.x86_64 filesystem-3.18-17.el10.x86_64 findutils-4.10.0-5.el10.x86_64 fonts-srpm-macros-2.0.5-18.el10.noarch forge-srpm-macros-0.4.0-6.el10.noarch gawk-5.3.0-6.el10.x86_64 gdb-minimal-16.3-3.el10.x86_64 gdbm-1.23-12.el10_0.x86_64 gdbm-libs-1.23-12.el10_0.x86_64 glibc-2.39-124.el10_2.x86_64 glibc-common-2.39-124.el10_2.x86_64 glibc-gconv-extra-2.39-124.el10_2.x86_64 glibc-minimal-langpack-2.39-124.el10_2.x86_64 gmp-6.2.1-12.el10.x86_64 go-srpm-macros-3.8.0-1.el10.noarch gpg-pubkey-05707a62-68e6a1f3 gpg-pubkey-5a6340b3-6229229e gpg-pubkey-fd431d51-4ae0493b grep-3.11-10.el10.x86_64 gzip-1.13-3.el10.x86_64 info-7.1-6.el10.x86_64 jansson-2.14-3.el10.x86_64 json-c-0.18-3.el10.x86_64 kernel-srpm-macros-1.0-27.el10.noarch keyutils-libs-1.6.3-5.el10.x86_64 krb5-libs-1.21.3-10.el10_2.x86_64 libacl-2.3.2-4.el10.x86_64 libarchive-3.8.7-1.el10.x86_64 libattr-2.5.2-5.el10.x86_64 libblkid-2.40.2-18.el10.x86_64 libbrotli-1.1.0-7.el10_1.x86_64 libcap-2.69-7.el10_2.1.x86_64 libcap-ng-0.8.4-6.el10.x86_64 libcbor-0.11.0-3.el10.x86_64 libcom_err-1.47.1-5.el10.x86_64 libcurl-8.12.1-4.el10.x86_64 libeconf-0.6.2-4.el10.x86_64 libevent-2.1.12-16.el10.x86_64 libfdisk-2.40.2-18.el10.x86_64 libffi-3.4.4-10.el10.x86_64 libfido2-1.14.0-7.el10.x86_64 libgcc-14.3.1-4.4.el10.x86_64 libgomp-14.3.1-4.4.el10.x86_64 libidn2-2.3.7-3.el10.x86_64 libmount-2.40.2-18.el10.x86_64 libnghttp2-1.68.0-3.el10_2.1.x86_64 libpkgconf-2.1.0-3.el10.x86_64 libpsl-0.21.5-6.el10.x86_64 libpwquality-1.4.5-12.el10.x86_64 libselinux-3.10-1.el10.x86_64 libsemanage-3.10-1.el10.x86_64 libsepol-3.10-1.el10.x86_64 libsmartcols-2.40.2-18.el10.x86_64 libssh-0.12.0-2.el10.x86_64 libssh-config-0.12.0-2.el10.noarch libstdc++-14.3.1-4.4.el10.x86_64 libtasn1-4.20.0-1.el10.x86_64 libunistring-1.1-10.el10.x86_64 libutempter-1.2.1-15.el10.x86_64 libuuid-2.40.2-18.el10.x86_64 libverto-0.3.2-10.el10.x86_64 libxcrypt-4.4.36-10.el10.x86_64 libzstd-1.5.7-5.el10.x86_64 lua-libs-5.4.6-7.el10.x86_64 lua-srpm-macros-1-15.el10.noarch mpfr-4.2.1-8.el10.x86_64 ncurses-base-6.4-15.20240127.el10_1.noarch ncurses-libs-6.4-15.20240127.el10_1.x86_64 ocaml-srpm-macros-10-4.el10.noarch openblas-srpm-macros-2-19.el10.noarch openldap-2.6.10-1.el10.x86_64 openssl-fips-provider-3.0.7-8.el10.x86_64 openssl-fips-provider-so-3.0.7-8.el10.x86_64 openssl-libs-3.5.5-3.el10_2.x86_64 p11-kit-0.26.2-1.el10.x86_64 p11-kit-trust-0.26.2-1.el10.x86_64 package-notes-srpm-macros-0.5-13.el10.noarch pam-1.6.1-9.el10.x86_64 pam-libs-1.6.1-9.el10.x86_64 patch-2.7.6-26.el10.x86_64 pcre2-10.44-1.el10.3.x86_64 pcre2-syntax-10.44-1.el10.3.noarch perl-srpm-macros-1-57.el10.noarch pkgconf-2.1.0-3.el10.x86_64 pkgconf-m4-2.1.0-3.el10.noarch pkgconf-pkg-config-2.1.0-3.el10.x86_64 popt-1.19-8.el10.x86_64 publicsuffix-list-dafsa-20240107-5.el10.noarch pyproject-srpm-macros-1.18.5-1.el10.noarch python-srpm-macros-3.12-11.el10.noarch qt6-srpm-macros-6.10.1-1.el10.noarch readline-8.2-11.el10.x86_64 redhat-release-10.2-21.el10.x86_64 redhat-rpm-config-295-1.el10.noarch rpm-4.19.1.1-23.el10.x86_64 rpm-build-4.19.1.1-23.el10.x86_64 rpm-build-libs-4.19.1.1-23.el10.x86_64 rpm-libs-4.19.1.1-23.el10.x86_64 rpm-sequoia-1.10.1.1-2.el10.x86_64 rust-toolset-srpm-macros-1.92.0-1.el10.noarch sed-4.9-5.el10.x86_64 setup-2.14.5-7.el10.noarch shadow-utils-4.15.0-11.el10.x86_64 sqlite-libs-3.46.1-5.el10_1.x86_64 systemd-libs-257-23.el10_2.2.x86_64 tar-1.35-11.el10.x86_64 unzip-6.0-69.el10.x86_64 util-linux-2.40.2-18.el10.x86_64 util-linux-core-2.40.2-18.el10.x86_64 which-2.21-44.el10_0.x86_64 xz-5.6.2-4.el10_0.x86_64 xz-libs-5.6.2-4.el10_0.x86_64 zip-3.0-45.el10.x86_64 zlib-ng-compat-2.2.3-3.el10_1.x86_64 zstd-1.5.7-5.el10.x86_64 Start: buildsrpm Start: rpmbuild -bs Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1780790400 Wrote: /builddir/build/SRPMS/mongo-c-driver-2.3.1-1.el10.src.rpm Finish: rpmbuild -bs INFO: chroot_scan: 3 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/rhel-10-x86_64-1780824477.805650/root/var/log/dnf.rpm.log /var/lib/mock/rhel-10-x86_64-1780824477.805650/root/var/log/dnf.librepo.log /var/lib/mock/rhel-10-x86_64-1780824477.805650/root/var/log/dnf.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-dtpy9x3b/mongo-c-driver/mongo-c-driver.spec) Config(child) 0 minutes 37 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/mongo-c-driver-2.3.1-1.el10.src.rpm) Config(rhel-10-x86_64) Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/rhel-10-x86_64-bootstrap-1780824477.805650/root. INFO: reusing tmpfs at /var/lib/mock/rhel-10-x86_64-bootstrap-1780824477.805650/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/rhel-10-x86_64-1780824477.805650/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-4.19.1.1-23.el10.x86_64 rpm-sequoia-1.10.1.1-2.el10.x86_64 python3-dnf-4.20.0-22.el10_2.noarch python3-dnf-plugins-core-4.7.0-10.el10.noarch yum-4.20.0-22.el10_2.noarch Finish: chroot init Start: build phase for mongo-c-driver-2.3.1-1.el10.src.rpm Start: build setup for mongo-c-driver-2.3.1-1.el10.src.rpm Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1780790400 Wrote: /builddir/build/SRPMS/mongo-c-driver-2.3.1-1.el10.src.rpm No matches found for the following disable plugin patterns: local, spacewalk, versionlock Updating Subscription Management repositories. Unable to read consumer identity This system is not registered with an entitlement server. You can use subscription-manager to register. Copr repository 13 kB/s | 1.5 kB 00:00 Additional repo copr_ldivizio_server 13 kB/s | 1.5 kB 00:00 Additional repo https_dl_fedoraproject_org_pub_ 84 kB/s | 4.0 kB 00:00 Additional repo https_rpms_remirepo_net_enterpr 9.6 kB/s | 3.0 kB 00:00 Red Hat Enterprise Linux 10 for x86_64 - BaseOS 22 kB/s | 4.1 kB 00:00 Red Hat Enterprise Linux 10 for x86_64 - AppStr 19 kB/s | 4.1 kB 00:00 Red Hat CodeReady Linux Builder for RHEL 10 x86 27 kB/s | 4.1 kB 00:00 Dependencies resolved. ================================================================================ Package Arch Version Repo Size ================================================================================ Installing: cmake x86_64 3.31.8-1.el10 appstream 13 M gcc x86_64 14.3.1-4.4.el10 appstream 38 M gcc-c++ x86_64 14.3.1-4.4.el10 appstream 15 M libmongocrypt-devel x86_64 1.18.1-1.el10 copr_base 189 k libzstd-devel x86_64 1.5.7-5.el10 copr_base 56 k make x86_64 1:4.4.1-9.el10 baseos 591 k openssl-devel x86_64 1:3.5.5-3.el10_2 appstream 4.2 M perl-interpreter x86_64 4:5.40.2-512.2.el10_0 appstream 73 k python3 x86_64 3.12.13-2.el10_2 baseos 35 k python3-sphinx noarch 1:7.2.6-10.el10 crb 2.7 M utf8proc-devel x86_64 2.7.0-9.el10 crb 18 k zlib-ng-compat-devel x86_64 2.2.3-3.el10_1 appstream 36 k Installing dependencies: annobin-docs noarch 13.02-2.el10 appstream 94 k annobin-plugin-gcc x86_64 13.02-2.el10 appstream 1.0 M cmake-data noarch 3.31.8-1.el10 appstream 2.7 M cmake-filesystem x86_64 3.31.8-1.el10 appstream 21 k cmake-rpm-macros noarch 3.31.8-1.el10 appstream 12 k cpp x86_64 14.3.1-4.4.el10 appstream 13 M emacs-filesystem noarch 1:29.4-13.el10_2 baseos 15 k expat x86_64 2.7.3-1.el10_2.1 baseos 126 k gcc-plugin-annobin x86_64 14.3.1-4.4.el10 appstream 69 k glibc-devel x86_64 2.39-124.el10_2 appstream 591 k groff-base x86_64 1.23.0-10.el10 baseos 1.1 M kernel-headers x86_64 6.12.0-211.20.1.el10_2 appstream 3.5 M libbson x86_64 2.3.0-1.el10 copr_base 102 k libbson-devel x86_64 2.3.0-1.el10 copr_base 353 k libmongocrypt x86_64 1.18.1-1.el10 copr_base 1.4 M libmpc x86_64 1.3.1-7.el10 appstream 74 k libstdc++-devel x86_64 14.3.1-4.4.el10 appstream 2.8 M libuv x86_64 1:1.51.0-1.el10_0 appstream 262 k libxcrypt-devel x86_64 4.4.36-10.el10 appstream 33 k mpdecimal x86_64 2.5.1-12.el10 baseos 92 k ncurses x86_64 6.4-15.20240127.el10_1 baseos 427 k perl-AutoLoader noarch 5.74-512.2.el10_0 appstream 22 k perl-B x86_64 1.89-512.2.el10_0 appstream 178 k perl-Carp noarch 1.54-511.el10 appstream 31 k perl-Class-Struct noarch 0.68-512.2.el10_0 appstream 23 k perl-Data-Dumper x86_64 2.189-512.el10 appstream 60 k perl-Digest noarch 1.20-511.el10 appstream 28 k perl-Digest-MD5 x86_64 2.59-6.el10 appstream 40 k perl-DynaLoader x86_64 1.56-512.2.el10_0 appstream 27 k perl-Encode x86_64 4:3.21-511.el10 appstream 1.1 M perl-Errno x86_64 1.38-512.2.el10_0 appstream 16 k perl-Exporter noarch 5.78-511.el10 appstream 34 k perl-Fcntl x86_64 1.18-512.2.el10_0 appstream 31 k perl-File-Basename noarch 2.86-512.2.el10_0 appstream 18 k perl-File-Path noarch 2.18-512.el10 appstream 35 k perl-File-Temp noarch 1:0.231.100-512.el10 appstream 63 k perl-File-stat noarch 1.14-512.2.el10_0 appstream 18 k perl-FileHandle noarch 2.05-512.2.el10_0 appstream 16 k perl-Getopt-Long noarch 1:2.58-3.el10 appstream 68 k perl-Getopt-Std noarch 1.14-512.2.el10_0 appstream 16 k perl-HTTP-Tiny noarch 0.088-512.el10 appstream 60 k perl-IO x86_64 1.55-512.2.el10_0 appstream 81 k perl-IO-Socket-IP noarch 0.42-512.el10 appstream 45 k perl-IO-Socket-SSL noarch 2.085-3.el10 appstream 231 k perl-IPC-Open3 noarch 1.22-512.2.el10_0 appstream 23 k perl-MIME-Base64 x86_64 3.16-511.el10 appstream 34 k perl-Mozilla-CA noarch 20231213-5.el10 appstream 16 k perl-Net-SSLeay x86_64 1.94-8.el10 appstream 380 k perl-POSIX x86_64 2.20-512.2.el10_0 appstream 97 k perl-PathTools x86_64 3.91-512.el10 appstream 89 k perl-Pod-Escapes noarch 1:1.07-511.el10 appstream 22 k perl-Pod-Perldoc noarch 3.28.01-512.el10 appstream 88 k perl-Pod-Simple noarch 1:3.45-511.el10 appstream 223 k perl-Pod-Usage noarch 4:2.03-511.el10 appstream 43 k perl-Scalar-List-Utils x86_64 5:1.63-511.el10 appstream 78 k perl-SelectSaver noarch 1.02-512.2.el10_0 appstream 12 k perl-Socket x86_64 4:2.038-511.el10 appstream 59 k perl-Storable x86_64 1:3.32-511.el10 appstream 102 k perl-Symbol noarch 1.09-512.2.el10_0 appstream 15 k perl-Term-ANSIColor noarch 5.01-512.el10 appstream 51 k perl-Term-Cap noarch 1.18-511.el10 appstream 25 k perl-Text-ParseWords noarch 3.31-511.el10 appstream 19 k perl-Text-Tabs+Wrap noarch 2024.001-511.el10 appstream 24 k perl-Time-Local noarch 2:1.350-511.el10 appstream 38 k perl-URI noarch 5.27-3.el10 appstream 138 k perl-base noarch 2.27-512.2.el10_0 appstream 17 k perl-constant noarch 1.33-512.el10 appstream 25 k perl-if noarch 0.61.000-512.2.el10_0 appstream 15 k perl-libnet noarch 3.15-512.el10 appstream 131 k perl-libs x86_64 4:5.40.2-512.2.el10_0 appstream 2.4 M perl-locale noarch 1.12-512.2.el10_0 appstream 14 k perl-mro x86_64 1.29-512.2.el10_0 appstream 31 k perl-overload noarch 1.37-512.2.el10_0 appstream 46 k perl-overloading noarch 0.02-512.2.el10_0 appstream 14 k perl-parent noarch 1:0.241-512.el10 appstream 17 k perl-podlators noarch 1:5.01-511.el10 appstream 128 k perl-vars noarch 1.05-512.2.el10_0 appstream 14 k python3-babel noarch 2.13.1-5.el10 crb 7.0 M python3-charset-normalizer noarch 3.4.2-1.el10 baseos 112 k python3-docutils noarch 0.20.1-5.el10 appstream 1.1 M python3-idna noarch 3.7-4.el10 baseos 122 k python3-imagesize noarch 1.4.1-9.el10 crb 27 k python3-jinja2 noarch 3.1.6-1.el10_0 appstream 331 k python3-libs x86_64 3.12.13-2.el10_2 baseos 9.5 M python3-markupsafe x86_64 2.1.3-6.el10 appstream 36 k python3-packaging noarch 24.2-2.el10 baseos 157 k python3-pip-wheel noarch 23.3.2-11.el10_2 baseos 1.5 M python3-pygments noarch 2.18.0-1.el10 crb 2.1 M python3-requests noarch 2.32.4-1.el10_0 baseos 156 k python3-setuptools noarch 69.0.3-12.el10_0 baseos 1.6 M python3-sphinx-theme-alabaster noarch 0.7.16-5.el10 crb 31 k python3-urllib3 noarch 1.26.19-2.el10_1.1 baseos 291 k tzdata noarch 2026b-1.el10 baseos 912 k utf8proc x86_64 2.7.0-9.el10 appstream 83 k vim-filesystem noarch 2:9.1.083-9.el10_2.3 baseos 22 k Transaction Summary ================================================================================ Install 107 Packages Total download size: 133 M Installed size: 409 M Downloading Packages: (1/107): libbson-2.3.0-1.el10.x86_64.rpm 548 kB/s | 102 kB 00:00 (2/107): libbson-devel-2.3.0-1.el10.x86_64.rpm 1.3 MB/s | 353 kB 00:00 (3/107): libzstd-devel-1.5.7-5.el10.x86_64.rpm 213 kB/s | 56 kB 00:00 (4/107): libmongocrypt-devel-1.18.1-1.el10.x86_ 355 kB/s | 189 kB 00:00 (5/107): groff-base-1.23.0-10.el10.x86_64.rpm 4.5 MB/s | 1.1 MB 00:00 (6/107): mpdecimal-2.5.1-12.el10.x86_64.rpm 759 kB/s | 92 kB 00:00 (7/107): make-4.4.1-9.el10.x86_64.rpm 2.7 MB/s | 591 kB 00:00 (8/107): python3-idna-3.7-4.el10.noarch.rpm 1.0 MB/s | 122 kB 00:00 (9/107): python3-packaging-24.2-2.el10.noarch.r 1.7 MB/s | 157 kB 00:00 (10/107): libmongocrypt-1.18.1-1.el10.x86_64.rp 1.3 MB/s | 1.4 MB 00:01 (11/107): python3-requests-2.32.4-1.el10_0.noar 1.3 MB/s | 156 kB 00:00 (12/107): python3-setuptools-69.0.3-12.el10_0.n 12 MB/s | 1.6 MB 00:00 (13/107): ncurses-6.4-15.20240127.el10_1.x86_64 4.2 MB/s | 427 kB 00:00 (14/107): python3-urllib3-1.26.19-2.el10_1.1.no 2.2 MB/s | 291 kB 00:00 (15/107): python3-charset-normalizer-3.4.2-1.el 564 kB/s | 112 kB 00:00 (16/107): python3-3.12.13-2.el10_2.x86_64.rpm 343 kB/s | 35 kB 00:00 (17/107): tzdata-2026b-1.el10.noarch.rpm 7.2 MB/s | 912 kB 00:00 (18/107): python3-libs-3.12.13-2.el10_2.x86_64. 34 MB/s | 9.5 MB 00:00 (19/107): python3-pip-wheel-23.3.2-11.el10_2.no 5.3 MB/s | 1.5 MB 00:00 (20/107): emacs-filesystem-29.4-13.el10_2.noarc 127 kB/s | 15 kB 00:00 (21/107): vim-filesystem-9.1.083-9.el10_2.3.noa 241 kB/s | 22 kB 00:00 (22/107): expat-2.7.3-1.el10_2.1.x86_64.rpm 1.2 MB/s | 126 kB 00:00 (23/107): perl-Data-Dumper-2.189-512.el10.x86_6 461 kB/s | 60 kB 00:00 (24/107): perl-Exporter-5.78-511.el10.noarch.rp 298 kB/s | 34 kB 00:00 (25/107): perl-HTTP-Tiny-0.088-512.el10.noarch. 504 kB/s | 60 kB 00:00 (26/107): perl-Mozilla-CA-20231213-5.el10.noarc 165 kB/s | 16 kB 00:00 (27/107): perl-Pod-Simple-3.45-511.el10.noarch. 2.1 MB/s | 223 kB 00:00 (28/107): perl-Scalar-List-Utils-1.63-511.el10. 769 kB/s | 78 kB 00:00 (29/107): perl-Term-ANSIColor-5.01-512.el10.noa 490 kB/s | 51 kB 00:00 (30/107): perl-Carp-1.54-511.el10.noarch.rpm 310 kB/s | 31 kB 00:00 (31/107): perl-constant-1.33-512.el10.noarch.rp 199 kB/s | 25 kB 00:00 (32/107): perl-Term-Cap-1.18-511.el10.noarch.rp 167 kB/s | 25 kB 00:00 (33/107): perl-File-Temp-0.231.100-512.el10.noa 513 kB/s | 63 kB 00:00 (34/107): perl-Digest-1.20-511.el10.noarch.rpm 215 kB/s | 28 kB 00:00 (35/107): perl-Getopt-Long-2.58-3.el10.noarch.r 525 kB/s | 68 kB 00:00 (36/107): perl-MIME-Base64-3.16-511.el10.x86_64 325 kB/s | 34 kB 00:00 (37/107): perl-IO-Socket-IP-0.42-512.el10.noarc 277 kB/s | 45 kB 00:00 (38/107): perl-Pod-Escapes-1.07-511.el10.noarch 132 kB/s | 22 kB 00:00 (39/107): perl-Pod-Usage-2.03-511.el10.noarch.r 428 kB/s | 43 kB 00:00 (40/107): perl-Socket-2.038-511.el10.x86_64.rpm 599 kB/s | 59 kB 00:00 (41/107): perl-Time-Local-1.350-511.el10.noarch 403 kB/s | 38 kB 00:00 (42/107): perl-libnet-3.15-512.el10.noarch.rpm 1.4 MB/s | 131 kB 00:00 (43/107): utf8proc-2.7.0-9.el10.x86_64.rpm 618 kB/s | 83 kB 00:00 (44/107): perl-Digest-MD5-2.59-6.el10.x86_64.rp 352 kB/s | 40 kB 00:00 (45/107): python3-markupsafe-2.1.3-6.el10.x86_6 199 kB/s | 36 kB 00:00 (46/107): perl-PathTools-3.91-512.el10.x86_64.r 951 kB/s | 89 kB 00:00 (47/107): perl-Text-Tabs+Wrap-2024.001-511.el10 255 kB/s | 24 kB 00:00 (48/107): perl-Encode-3.21-511.el10.x86_64.rpm 5.1 MB/s | 1.1 MB 00:00 (49/107): perl-Storable-3.32-511.el10.x86_64.rp 583 kB/s | 102 kB 00:00 (50/107): perl-parent-0.241-512.el10.noarch.rpm 169 kB/s | 17 kB 00:00 (51/107): perl-URI-5.27-3.el10.noarch.rpm 1.2 MB/s | 138 kB 00:00 (52/107): perl-podlators-5.01-511.el10.noarch.r 845 kB/s | 128 kB 00:00 (53/107): perl-IO-Socket-SSL-2.085-3.el10.noarc 2.3 MB/s | 231 kB 00:00 (54/107): perl-Text-ParseWords-3.31-511.el10.no 133 kB/s | 19 kB 00:00 (55/107): libmpc-1.3.1-7.el10.x86_64.rpm 759 kB/s | 74 kB 00:00 (56/107): python3-docutils-0.20.1-5.el10.noarch 5.4 MB/s | 1.1 MB 00:00 (57/107): perl-Pod-Perldoc-3.28.01-512.el10.noa 594 kB/s | 88 kB 00:00 (58/107): python3-jinja2-3.1.6-1.el10_0.noarch. 1.7 MB/s | 331 kB 00:00 (59/107): perl-AutoLoader-5.74-512.2.el10_0.noa 239 kB/s | 22 kB 00:00 (60/107): libxcrypt-devel-4.4.36-10.el10.x86_64 110 kB/s | 33 kB 00:00 (61/107): perl-B-1.89-512.2.el10_0.x86_64.rpm 1.6 MB/s | 178 kB 00:00 (62/107): perl-Class-Struct-0.68-512.2.el10_0.n 254 kB/s | 23 kB 00:00 (63/107): perl-DynaLoader-1.56-512.2.el10_0.x86 260 kB/s | 27 kB 00:00 (64/107): perl-Errno-1.38-512.2.el10_0.x86_64.r 154 kB/s | 16 kB 00:00 (65/107): perl-Fcntl-1.18-512.2.el10_0.x86_64.r 339 kB/s | 31 kB 00:00 (66/107): perl-FileHandle-2.05-512.2.el10_0.noa 182 kB/s | 16 kB 00:00 (67/107): perl-File-stat-1.14-512.2.el10_0.noar 181 kB/s | 18 kB 00:00 (68/107): perl-File-Basename-2.86-512.2.el10_0. 89 kB/s | 18 kB 00:00 (69/107): perl-IO-1.55-512.2.el10_0.x86_64.rpm 854 kB/s | 81 kB 00:00 (70/107): perl-Getopt-Std-1.14-512.2.el10_0.noa 172 kB/s | 16 kB 00:00 (71/107): perl-SelectSaver-1.02-512.2.el10_0.no 129 kB/s | 12 kB 00:00 (72/107): perl-IPC-Open3-1.22-512.2.el10_0.noar 212 kB/s | 23 kB 00:00 (73/107): perl-POSIX-2.20-512.2.el10_0.x86_64.r 870 kB/s | 97 kB 00:00 (74/107): perl-Symbol-1.09-512.2.el10_0.noarch. 166 kB/s | 15 kB 00:00 (75/107): perl-if-0.61.000-512.2.el10_0.noarch. 163 kB/s | 15 kB 00:00 (76/107): perl-interpreter-5.40.2-512.2.el10_0. 707 kB/s | 73 kB 00:00 (77/107): perl-base-2.27-512.2.el10_0.noarch.rp 78 kB/s | 17 kB 00:00 (78/107): perl-libs-5.40.2-512.2.el10_0.x86_64. 20 MB/s | 2.4 MB 00:00 (79/107): perl-locale-1.12-512.2.el10_0.noarch. 146 kB/s | 14 kB 00:00 (80/107): perl-overload-1.37-512.2.el10_0.noarc 423 kB/s | 46 kB 00:00 (81/107): perl-overloading-0.02-512.2.el10_0.no 142 kB/s | 14 kB 00:00 (82/107): perl-vars-1.05-512.2.el10_0.noarch.rp 152 kB/s | 14 kB 00:00 (83/107): perl-mro-1.29-512.2.el10_0.x86_64.rpm 132 kB/s | 31 kB 00:00 (84/107): libuv-1.51.0-1.el10_0.x86_64.rpm 2.3 MB/s | 262 kB 00:00 (85/107): perl-Net-SSLeay-1.94-8.el10.x86_64.rp 3.9 MB/s | 380 kB 00:00 (86/107): zlib-ng-compat-devel-2.2.3-3.el10_1.x 271 kB/s | 36 kB 00:00 (87/107): cmake-filesystem-3.31.8-1.el10.x86_64 210 kB/s | 21 kB 00:00 (88/107): cmake-rpm-macros-3.31.8-1.el10.noarch 138 kB/s | 12 kB 00:00 (89/107): libstdc++-devel-14.3.1-4.4.el10.x86_6 25 MB/s | 2.8 MB 00:00 (90/107): cpp-14.3.1-4.4.el10.x86_64.rpm 64 MB/s | 13 MB 00:00 (91/107): annobin-docs-13.02-2.el10.noarch.rpm 1.0 MB/s | 94 kB 00:00 (92/107): annobin-plugin-gcc-13.02-2.el10.x86_6 7.7 MB/s | 1.0 MB 00:00 (93/107): cmake-data-3.31.8-1.el10.noarch.rpm 26 MB/s | 2.7 MB 00:00 (94/107): gcc-c++-14.3.1-4.4.el10.x86_64.rpm 34 MB/s | 15 MB 00:00 (95/107): cmake-3.31.8-1.el10.x86_64.rpm 52 MB/s | 13 MB 00:00 (96/107): perl-File-Path-2.18-512.el10.noarch.r 388 kB/s | 35 kB 00:00 (97/107): gcc-plugin-annobin-14.3.1-4.4.el10.x8 558 kB/s | 69 kB 00:00 (98/107): glibc-devel-2.39-124.el10_2.x86_64.rp 6.2 MB/s | 591 kB 00:00 (99/107): openssl-devel-3.5.5-3.el10_2.x86_64.r 23 MB/s | 4.2 MB 00:00 (100/107): kernel-headers-6.12.0-211.20.1.el10_ 31 MB/s | 3.5 MB 00:00 (101/107): gcc-14.3.1-4.4.el10.x86_64.rpm 90 MB/s | 38 MB 00:00 (102/107): python3-pygments-2.18.0-1.el10.noarc 14 MB/s | 2.1 MB 00:00 (103/107): python3-babel-2.13.1-5.el10.noarch.r 38 MB/s | 7.0 MB 00:00 (104/107): python3-sphinx-theme-alabaster-0.7.1 238 kB/s | 31 kB 00:00 (105/107): utf8proc-devel-2.7.0-9.el10.x86_64.r 154 kB/s | 18 kB 00:00 (106/107): python3-imagesize-1.4.1-9.el10.noarc 206 kB/s | 27 kB 00:00 (107/107): python3-sphinx-7.2.6-10.el10.noarch. 22 MB/s | 2.7 MB 00:00 -------------------------------------------------------------------------------- Total 24 MB/s | 133 MB 00:05 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : cmake-filesystem-3.31.8-1.el10.x86_64 1/107 Installing : libmpc-1.3.1-7.el10.x86_64 2/107 Installing : expat-2.7.3-1.el10_2.1.x86_64 3/107 Installing : make-1:4.4.1-9.el10.x86_64 4/107 Installing : libbson-2.3.0-1.el10.x86_64 5/107 Installing : libbson-devel-2.3.0-1.el10.x86_64 6/107 Installing : libmongocrypt-1.18.1-1.el10.x86_64 7/107 Installing : cpp-14.3.1-4.4.el10.x86_64 8/107 Installing : kernel-headers-6.12.0-211.20.1.el10_2.x86_64 9/107 Installing : glibc-devel-2.39-124.el10_2.x86_64 10/107 Installing : libxcrypt-devel-4.4.36-10.el10.x86_64 11/107 Installing : gcc-14.3.1-4.4.el10.x86_64 12/107 Running scriptlet: gcc-14.3.1-4.4.el10.x86_64 12/107 Installing : annobin-docs-13.02-2.el10.noarch 13/107 Installing : libstdc++-devel-14.3.1-4.4.el10.x86_64 14/107 Installing : libuv-1:1.51.0-1.el10_0.x86_64 15/107 Installing : utf8proc-2.7.0-9.el10.x86_64 16/107 Installing : vim-filesystem-2:9.1.083-9.el10_2.3.noarch 17/107 Installing : emacs-filesystem-1:29.4-13.el10_2.noarch 18/107 Installing : tzdata-2026b-1.el10.noarch 19/107 Installing : python3-pip-wheel-23.3.2-11.el10_2.noarch 20/107 Installing : ncurses-6.4-15.20240127.el10_1.x86_64 21/107 Installing : mpdecimal-2.5.1-12.el10.x86_64 22/107 Installing : python3-3.12.13-2.el10_2.x86_64 23/107 Installing : python3-libs-3.12.13-2.el10_2.x86_64 24/107 Installing : python3-idna-3.7-4.el10.noarch 25/107 Installing : cmake-rpm-macros-3.31.8-1.el10.noarch 26/107 Installing : cmake-data-3.31.8-1.el10.noarch 27/107 Installing : cmake-3.31.8-1.el10.x86_64 28/107 Installing : python3-urllib3-1.26.19-2.el10_1.1.noarch 29/107 Installing : python3-packaging-24.2-2.el10.noarch 30/107 Installing : python3-setuptools-69.0.3-12.el10_0.noarch 31/107 Installing : python3-babel-2.13.1-5.el10.noarch 32/107 Installing : python3-charset-normalizer-3.4.2-1.el10.noarch 33/107 Installing : python3-requests-2.32.4-1.el10_0.noarch 34/107 Installing : python3-markupsafe-2.1.3-6.el10.x86_64 35/107 Installing : python3-jinja2-3.1.6-1.el10_0.noarch 36/107 Installing : python3-docutils-0.20.1-5.el10.noarch 37/107 Installing : python3-pygments-2.18.0-1.el10.noarch 38/107 Installing : python3-sphinx-theme-alabaster-0.7.16-5.el10.noa 39/107 Installing : python3-imagesize-1.4.1-9.el10.noarch 40/107 Running scriptlet: groff-base-1.23.0-10.el10.x86_64 41/107 Installing : groff-base-1.23.0-10.el10.x86_64 41/107 Running scriptlet: groff-base-1.23.0-10.el10.x86_64 41/107 Installing : perl-Digest-1.20-511.el10.noarch 42/107 Installing : perl-Digest-MD5-2.59-6.el10.x86_64 43/107 Installing : perl-B-1.89-512.2.el10_0.x86_64 44/107 Installing : perl-FileHandle-2.05-512.2.el10_0.noarch 45/107 Installing : perl-Data-Dumper-2.189-512.el10.x86_64 46/107 Installing : perl-libnet-3.15-512.el10.noarch 47/107 Installing : perl-AutoLoader-5.74-512.2.el10_0.noarch 48/107 Installing : perl-URI-5.27-3.el10.noarch 49/107 Installing : perl-Text-Tabs+Wrap-2024.001-511.el10.noarch 50/107 Installing : perl-Time-Local-2:1.350-511.el10.noarch 51/107 Installing : perl-Mozilla-CA-20231213-5.el10.noarch 52/107 Installing : perl-if-0.61.000-512.2.el10_0.noarch 53/107 Installing : perl-locale-1.12-512.2.el10_0.noarch 54/107 Installing : perl-IO-Socket-IP-0.42-512.el10.noarch 55/107 Installing : perl-Pod-Escapes-1:1.07-511.el10.noarch 56/107 Installing : perl-IO-Socket-SSL-2.085-3.el10.noarch 57/107 Installing : perl-Net-SSLeay-1.94-8.el10.x86_64 58/107 Installing : perl-File-Path-2.18-512.el10.noarch 59/107 Installing : perl-Term-ANSIColor-5.01-512.el10.noarch 60/107 Installing : perl-Class-Struct-0.68-512.2.el10_0.noarch 61/107 Installing : perl-POSIX-2.20-512.2.el10_0.x86_64 62/107 Installing : perl-IPC-Open3-1.22-512.2.el10_0.noarch 63/107 Installing : perl-Term-Cap-1.18-511.el10.noarch 64/107 Installing : perl-Pod-Simple-1:3.45-511.el10.noarch 65/107 Installing : perl-HTTP-Tiny-0.088-512.el10.noarch 66/107 Installing : perl-File-Temp-1:0.231.100-512.el10.noarch 67/107 Installing : perl-Socket-4:2.038-511.el10.x86_64 68/107 Installing : perl-SelectSaver-1.02-512.2.el10_0.noarch 69/107 Installing : perl-Symbol-1.09-512.2.el10_0.noarch 70/107 Installing : perl-File-stat-1.14-512.2.el10_0.noarch 71/107 Installing : perl-podlators-1:5.01-511.el10.noarch 72/107 Installing : perl-Pod-Perldoc-3.28.01-512.el10.noarch 73/107 Installing : perl-Text-ParseWords-3.31-511.el10.noarch 74/107 Installing : perl-Fcntl-1.18-512.2.el10_0.x86_64 75/107 Installing : perl-base-2.27-512.2.el10_0.noarch 76/107 Installing : perl-mro-1.29-512.2.el10_0.x86_64 77/107 Installing : perl-IO-1.55-512.2.el10_0.x86_64 78/107 Installing : perl-overloading-0.02-512.2.el10_0.noarch 79/107 Installing : perl-Pod-Usage-4:2.03-511.el10.noarch 80/107 Installing : perl-Scalar-List-Utils-5:1.63-511.el10.x86_64 81/107 Installing : perl-constant-1.33-512.el10.noarch 82/107 Installing : perl-MIME-Base64-3.16-511.el10.x86_64 83/107 Installing : perl-parent-1:0.241-512.el10.noarch 84/107 Installing : perl-Errno-1.38-512.2.el10_0.x86_64 85/107 Installing : perl-File-Basename-2.86-512.2.el10_0.noarch 86/107 Installing : perl-Getopt-Std-1.14-512.2.el10_0.noarch 87/107 Installing : perl-Storable-1:3.32-511.el10.x86_64 88/107 Installing : perl-overload-1.37-512.2.el10_0.noarch 89/107 Installing : perl-vars-1.05-512.2.el10_0.noarch 90/107 Installing : perl-Getopt-Long-1:2.58-3.el10.noarch 91/107 Installing : perl-Exporter-5.78-511.el10.noarch 92/107 Installing : perl-Carp-1.54-511.el10.noarch 93/107 Installing : perl-PathTools-3.91-512.el10.x86_64 94/107 Installing : perl-DynaLoader-1.56-512.2.el10_0.x86_64 95/107 Installing : perl-Encode-4:3.21-511.el10.x86_64 96/107 Installing : perl-libs-4:5.40.2-512.2.el10_0.x86_64 97/107 Installing : perl-interpreter-4:5.40.2-512.2.el10_0.x86_64 98/107 Installing : python3-sphinx-1:7.2.6-10.el10.noarch 99/107 Installing : utf8proc-devel-2.7.0-9.el10.x86_64 100/107 Installing : gcc-c++-14.3.1-4.4.el10.x86_64 101/107 Installing : annobin-plugin-gcc-13.02-2.el10.x86_64 102/107 Running scriptlet: annobin-plugin-gcc-13.02-2.el10.x86_64 102/107 Installing : gcc-plugin-annobin-14.3.1-4.4.el10.x86_64 103/107 Running scriptlet: gcc-plugin-annobin-14.3.1-4.4.el10.x86_64 103/107 Installing : libmongocrypt-devel-1.18.1-1.el10.x86_64 104/107 Installing : libzstd-devel-1.5.7-5.el10.x86_64 105/107 Installing : zlib-ng-compat-devel-2.2.3-3.el10_1.x86_64 106/107 Installing : openssl-devel-1:3.5.5-3.el10_2.x86_64 107/107 Running scriptlet: openssl-devel-1:3.5.5-3.el10_2.x86_64 107/107 Installed products updated. Installed: annobin-docs-13.02-2.el10.noarch annobin-plugin-gcc-13.02-2.el10.x86_64 cmake-3.31.8-1.el10.x86_64 cmake-data-3.31.8-1.el10.noarch cmake-filesystem-3.31.8-1.el10.x86_64 cmake-rpm-macros-3.31.8-1.el10.noarch cpp-14.3.1-4.4.el10.x86_64 emacs-filesystem-1:29.4-13.el10_2.noarch expat-2.7.3-1.el10_2.1.x86_64 gcc-14.3.1-4.4.el10.x86_64 gcc-c++-14.3.1-4.4.el10.x86_64 gcc-plugin-annobin-14.3.1-4.4.el10.x86_64 glibc-devel-2.39-124.el10_2.x86_64 groff-base-1.23.0-10.el10.x86_64 kernel-headers-6.12.0-211.20.1.el10_2.x86_64 libbson-2.3.0-1.el10.x86_64 libbson-devel-2.3.0-1.el10.x86_64 libmongocrypt-1.18.1-1.el10.x86_64 libmongocrypt-devel-1.18.1-1.el10.x86_64 libmpc-1.3.1-7.el10.x86_64 libstdc++-devel-14.3.1-4.4.el10.x86_64 libuv-1:1.51.0-1.el10_0.x86_64 libxcrypt-devel-4.4.36-10.el10.x86_64 libzstd-devel-1.5.7-5.el10.x86_64 make-1:4.4.1-9.el10.x86_64 mpdecimal-2.5.1-12.el10.x86_64 ncurses-6.4-15.20240127.el10_1.x86_64 openssl-devel-1:3.5.5-3.el10_2.x86_64 perl-AutoLoader-5.74-512.2.el10_0.noarch perl-B-1.89-512.2.el10_0.x86_64 perl-Carp-1.54-511.el10.noarch perl-Class-Struct-0.68-512.2.el10_0.noarch perl-Data-Dumper-2.189-512.el10.x86_64 perl-Digest-1.20-511.el10.noarch perl-Digest-MD5-2.59-6.el10.x86_64 perl-DynaLoader-1.56-512.2.el10_0.x86_64 perl-Encode-4:3.21-511.el10.x86_64 perl-Errno-1.38-512.2.el10_0.x86_64 perl-Exporter-5.78-511.el10.noarch perl-Fcntl-1.18-512.2.el10_0.x86_64 perl-File-Basename-2.86-512.2.el10_0.noarch perl-File-Path-2.18-512.el10.noarch perl-File-Temp-1:0.231.100-512.el10.noarch perl-File-stat-1.14-512.2.el10_0.noarch perl-FileHandle-2.05-512.2.el10_0.noarch perl-Getopt-Long-1:2.58-3.el10.noarch perl-Getopt-Std-1.14-512.2.el10_0.noarch perl-HTTP-Tiny-0.088-512.el10.noarch perl-IO-1.55-512.2.el10_0.x86_64 perl-IO-Socket-IP-0.42-512.el10.noarch perl-IO-Socket-SSL-2.085-3.el10.noarch perl-IPC-Open3-1.22-512.2.el10_0.noarch perl-MIME-Base64-3.16-511.el10.x86_64 perl-Mozilla-CA-20231213-5.el10.noarch perl-Net-SSLeay-1.94-8.el10.x86_64 perl-POSIX-2.20-512.2.el10_0.x86_64 perl-PathTools-3.91-512.el10.x86_64 perl-Pod-Escapes-1:1.07-511.el10.noarch perl-Pod-Perldoc-3.28.01-512.el10.noarch perl-Pod-Simple-1:3.45-511.el10.noarch perl-Pod-Usage-4:2.03-511.el10.noarch perl-Scalar-List-Utils-5:1.63-511.el10.x86_64 perl-SelectSaver-1.02-512.2.el10_0.noarch perl-Socket-4:2.038-511.el10.x86_64 perl-Storable-1:3.32-511.el10.x86_64 perl-Symbol-1.09-512.2.el10_0.noarch perl-Term-ANSIColor-5.01-512.el10.noarch perl-Term-Cap-1.18-511.el10.noarch perl-Text-ParseWords-3.31-511.el10.noarch perl-Text-Tabs+Wrap-2024.001-511.el10.noarch perl-Time-Local-2:1.350-511.el10.noarch perl-URI-5.27-3.el10.noarch perl-base-2.27-512.2.el10_0.noarch perl-constant-1.33-512.el10.noarch perl-if-0.61.000-512.2.el10_0.noarch perl-interpreter-4:5.40.2-512.2.el10_0.x86_64 perl-libnet-3.15-512.el10.noarch perl-libs-4:5.40.2-512.2.el10_0.x86_64 perl-locale-1.12-512.2.el10_0.noarch perl-mro-1.29-512.2.el10_0.x86_64 perl-overload-1.37-512.2.el10_0.noarch perl-overloading-0.02-512.2.el10_0.noarch perl-parent-1:0.241-512.el10.noarch perl-podlators-1:5.01-511.el10.noarch perl-vars-1.05-512.2.el10_0.noarch python3-3.12.13-2.el10_2.x86_64 python3-babel-2.13.1-5.el10.noarch python3-charset-normalizer-3.4.2-1.el10.noarch python3-docutils-0.20.1-5.el10.noarch python3-idna-3.7-4.el10.noarch python3-imagesize-1.4.1-9.el10.noarch python3-jinja2-3.1.6-1.el10_0.noarch python3-libs-3.12.13-2.el10_2.x86_64 python3-markupsafe-2.1.3-6.el10.x86_64 python3-packaging-24.2-2.el10.noarch python3-pip-wheel-23.3.2-11.el10_2.noarch python3-pygments-2.18.0-1.el10.noarch python3-requests-2.32.4-1.el10_0.noarch python3-setuptools-69.0.3-12.el10_0.noarch python3-sphinx-1:7.2.6-10.el10.noarch python3-sphinx-theme-alabaster-0.7.16-5.el10.noarch python3-urllib3-1.26.19-2.el10_1.1.noarch tzdata-2026b-1.el10.noarch utf8proc-2.7.0-9.el10.x86_64 utf8proc-devel-2.7.0-9.el10.x86_64 vim-filesystem-2:9.1.083-9.el10_2.3.noarch zlib-ng-compat-devel-2.2.3-3.el10_1.x86_64 Complete! Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1780790400 Wrote: /builddir/build/SRPMS/mongo-c-driver-2.3.1-1.el10.src.rpm No matches found for the following disable plugin patterns: local, spacewalk, versionlock Updating Subscription Management repositories. Unable to read consumer identity This system is not registered with an entitlement server. You can use subscription-manager to register. Copr repository 8.7 kB/s | 1.5 kB 00:00 Additional repo copr_ldivizio_server 3.3 kB/s | 1.5 kB 00:00 Additional repo https_dl_fedoraproject_org_pub_ 83 kB/s | 4.0 kB 00:00 Additional repo https_rpms_remirepo_net_enterpr 9.9 kB/s | 3.0 kB 00:00 Red Hat Enterprise Linux 10 for x86_64 - BaseOS 18 kB/s | 4.1 kB 00:00 Red Hat Enterprise Linux 10 for x86_64 - AppStr 42 kB/s | 4.1 kB 00:00 Red Hat CodeReady Linux Builder for RHEL 10 x86 41 kB/s | 4.1 kB 00:00 Package cmake-3.31.8-1.el10.x86_64 is already installed. Package gcc-14.3.1-4.4.el10.x86_64 is already installed. Package gcc-c++-14.3.1-4.4.el10.x86_64 is already installed. Package libmongocrypt-devel-1.18.1-1.el10.x86_64 is already installed. Package make-1:4.4.1-9.el10.x86_64 is already installed. Package openssl-devel-1:3.5.5-3.el10_2.x86_64 is already installed. Package perl-interpreter-4:5.40.2-512.2.el10_0.x86_64 is already installed. Package utf8proc-devel-2.7.0-9.el10.x86_64 is already installed. Package libzstd-devel-1.5.7-5.el10.x86_64 is already installed. Package zlib-ng-compat-devel-2.2.3-3.el10_1.x86_64 is already installed. Package python3-3.12.13-2.el10_2.x86_64 is already installed. Package python3-sphinx-1:7.2.6-10.el10.noarch is already installed. Dependencies resolved. Nothing to do. Complete! Finish: build setup for mongo-c-driver-2.3.1-1.el10.src.rpm Start: rpmbuild mongo-c-driver-2.3.1-1.el10.src.rpm Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1780790400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XbRH0e + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mongo-c-driver-2.3.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/2.3.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd mongo-c-driver-2.3.1 + rm -rf /builddir/build/BUILD/mongo-c-driver-2.3.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/mongo-c-driver-2.3.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.xaoKwA + umask 022 + cd /builddir/build/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-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' + 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-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' + 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-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 mongo-c-driver-2.3.1 + 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-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' + 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-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' + 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-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 -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 -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 -DBUILD_VERSION=2.3.1 -DENABLE_MONGOC:BOOL=ON -DENABLE_SHM_COUNTERS:BOOL=ON -DENABLE_SSL:STRING=OPENSSL -DENABLE_MONGODB_AWS_AUTH:STRING=ON -DENABLE_CRYPTO_SYSTEM_PROFILE:BOOL=ON -DENABLE_MAN_PAGES:BOOL=ON -DENABLE_HTML_DOCS:BOOL=OFF -DENABLE_SHARED:BOOL=ON -DENABLE_STATIC:STRING=OFF -DENABLE_ZLIB:STRING=OFF -DENABLE_ZSTD:STRING=ON -DENABLE_SNAPPY:STRING=OFF -DENABLE_TESTS:BOOL=OFF -DENABLE_EXAMPLES:BOOL=OFF -DENABLE_UNINSTALL:BOOL=OFF -DENABLE_CLIENT_SIDE_ENCRYPTION:BOOL=ON -DCMAKE_SKIP_RPATH:BOOL=ON -DUSE_BUNDLED_UTF8PROC:BOOL=OFF -DENABLE_SRV:BOOL=ON -DENABLE_MONGODB_AWS_AUTH:STRING=ON -S . -- The C compiler identification is GNU 14.3.1 -- 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 -- Looking for a CXX compiler -- Looking for a CXX compiler - /usr/bin/g++ -- The CXX compiler identification is GNU 14.3.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 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- No CMAKE_BUILD_TYPE selected, defaulting to RelWithDebInfo -- Performing Test HAVE_LLD_LINKER_SUPPORT -- Performing Test HAVE_LLD_LINKER_SUPPORT - Failed -- Found Python3: /usr/bin/python3.12 (found version "3.12.13") found components: Interpreter -- Using bundled libbson -- Looking for snprintf -- Looking for snprintf - found -- Performing Test BSON_HAVE_TIMESPEC -- Performing Test BSON_HAVE_TIMESPEC - Success -- Looking for gmtime_r -- Looking for gmtime_r - found -- Looking for rand_r -- Looking for rand_r - found -- Looking for strings.h -- Looking for strings.h - found -- Looking for strlcpy -- Looking for strlcpy - found -- Looking for stdbool.h -- Looking for stdbool.h - found -- Looking for clock_gettime -- Looking for clock_gettime - found -- Looking for strnlen -- Looking for strnlen - found -- Looking for aligned_alloc -- Looking for aligned_alloc - not found -- Found Sphinx: /usr/bin/sphinx-build -- Looking for sched_getcpu -- Looking for sched_getcpu - not found -- libmongoc version (from VERSION_CURRENT file): 2.3.1 -- Disabling zlib compression -- Searching for compression library zstd -- Found PkgConfig: /usr/bin/pkg-config (found version "2.1.0") -- Checking for module 'libzstd' -- Found libzstd, version 1.5.7 -- Found zstd version 1.5.7 in /usr/include -- Found OpenSSL: /usr/lib64/libcrypto.so (found version "3.5.5") -- libmongoc TLS : OpenSSL -- Looking for ASN1_STRING_get0_data -- Looking for ASN1_STRING_get0_data - found -- Could NOT find SASL2 (missing: SASL2_VERSION SASL2_INCLUDE_DIR SASL2_LIBRARY) (Required is at least version "2.0") -- Using SASL backend : NOTFOUND -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of socklen_t -- Check size of socklen_t - done -- Looking for res_nsearch -- Looking for res_nsearch - found -- Looking for res_search -- Looking for res_search - found -- Looking for res_ndestroy -- Looking for res_ndestroy - not found -- Looking for res_nclose -- Looking for res_nclose - found -- Detected parameters: accept (int, struct sockaddr *, socklen_t *) -- Searching for libmongocrypt -- libmongocrypt found at /usr/lib64/libmongocrypt.so -- libmongocrypt include path /usr/include -- libmongocrypt version 1.18.1 -- Performing Test MONGOC_HAVE_SS_FAMILY -- Performing Test MONGOC_HAVE_SS_FAMILY - Success -- SASL disabled -- Searching for utf8proc on system -- Checking for module 'libutf8proc' -- Found libutf8proc, version 2.5.0 -- Building with MONGODB-AWS auth support -- Build files generated for: -- build system: Unix Makefiles -- The following features have been enabled: * TLS, for secure network communication (OpenSSL) * Cryptography, cryptographic primitives (OpenSSL) * AWS Authentication, authenticate with MongoDB servers using credentials from AWS instance metadata -- The following features have been disabled: * SASL Authentication, authenticate with MongoDB servers using SASL: “Simple Authentication and Security Layer” (NOTFOUND) -- Configuring done (3.5s) -- Generating done (0.4s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP LIB_SUFFIX SHARE_INSTALL_PREFIX -- Build files have been written to: /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j4 --verbose Change Dir: '/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build' Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j4 /usr/bin/cmake -P /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/CMakeFiles/VerifyGlobs.cmake /usr/bin/cmake -S/builddir/build/BUILD/mongo-c-driver-2.3.1 -B/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/CMakeFiles /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build' /usr/bin/gmake -f src/libmongoc/doc/CMakeFiles/mongoc-man.dir/build.make src/libmongoc/doc/CMakeFiles/mongoc-man.dir/depend /usr/bin/gmake -f src/libbson/doc/CMakeFiles/bson-man.dir/build.make src/libbson/doc/CMakeFiles/bson-man.dir/depend /usr/bin/gmake -f src/common/CMakeFiles/mlib-ckdint-test.dir/build.make src/common/CMakeFiles/mlib-ckdint-test.dir/depend /usr/bin/gmake -f src/libbson/CMakeFiles/bson_shared.dir/build.make src/libbson/CMakeFiles/bson_shared.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build' cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/mongo-c-driver-2.3.1 /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/CMakeFiles/mlib-ckdint-test.dir/DependInfo.cmake "--color=" gmake[2]: Entering directory '/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build' cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/mongo-c-driver-2.3.1 /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/CMakeFiles/bson_shared.dir/DependInfo.cmake "--color=" gmake[2]: Entering directory '/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build' cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/mongo-c-driver-2.3.1 /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/doc /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/doc /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/doc/CMakeFiles/bson-man.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build' /usr/bin/gmake -f src/libbson/CMakeFiles/bson_shared.dir/build.make src/libbson/CMakeFiles/bson_shared.dir/build /usr/bin/gmake -f src/common/CMakeFiles/mlib-ckdint-test.dir/build.make src/common/CMakeFiles/mlib-ckdint-test.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build' cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/mongo-c-driver-2.3.1 /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/doc /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/doc /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/doc/CMakeFiles/mongoc-man.dir/DependInfo.cmake "--color=" gmake[2]: Entering directory '/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build' /usr/bin/gmake -f src/libbson/doc/CMakeFiles/bson-man.dir/build.make src/libbson/doc/CMakeFiles/bson-man.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build' [ 1%] Building C object src/libbson/CMakeFiles/bson_shared.dir/__/common/src/common-atomic.c.o [ 1%] Building CXX object src/common/CMakeFiles/mlib-ckdint-test.dir/src/mlib/ckdint.test.cpp.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson && /usr/bin/gcc -DBSON_COMPILATION -DJSONSL_PARSE_NAN -DMCOMMON_NAME_PREFIX=_bson_mcommon -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dbson_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -fvisibility=hidden -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libbson/CMakeFiles/bson_shared.dir/__/common/src/common-atomic.c.o -MF CMakeFiles/bson_shared.dir/__/common/src/common-atomic.c.o.d -o CMakeFiles/bson_shared.dir/__/common/src/common-atomic.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/common-atomic.c cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common && /usr/bin/g++ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=gnu++11 -fPIE -MD -MT src/common/CMakeFiles/mlib-ckdint-test.dir/src/mlib/ckdint.test.cpp.o -MF CMakeFiles/mlib-ckdint-test.dir/src/mlib/ckdint.test.cpp.o.d -o CMakeFiles/mlib-ckdint-test.dir/src/mlib/ckdint.test.cpp.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp gmake[2]: Leaving directory '/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build' /usr/bin/gmake -f src/libmongoc/doc/CMakeFiles/mongoc-man.dir/build.make src/libmongoc/doc/CMakeFiles/mongoc-man.dir/build [ 1%] Building manual pages with Sphinx cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/doc && /usr/bin/cmake -E env PYTHONDONTWRITEBYTECODE=1 /usr/bin/sphinx-build -qW -b man -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/doc -d /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/doc/man.doctrees /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/doc /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/doc/man gmake[2]: Entering directory '/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build' [ 1%] Building manual pages with Sphinx cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/doc && /usr/bin/cmake -E env PYTHONDONTWRITEBYTECODE=1 /usr/bin/sphinx-build -qW -b man -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/doc -d /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/doc/man.doctrees /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/doc /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/doc/man In file included from /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:53, from /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:1: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In function ‘int main()’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:159:4: note: in expansion of macro ‘mlib_add’ 159 | mlib_add(&a, a, 5); // `a` is both an addend and the dst | ^~~~~~~~ In file included from /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:54: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:66:6: note: in definition of macro ‘mlib_bits’ 66 | ((NumOnes) \ | ^~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:78:26: note: in expansion of macro ‘mlib_bitsizeof’ 78 | : ((T) mlib_bits(mlib_bitsizeof(T), 0)))) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:180:28: note: in expansion of macro ‘mlib_maxof’ 180 | mlib_maxof(T), \ | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:127:4: note: in expansion of macro ‘_mlib_assert_ckdint’ 127 | _mlib_assert_ckdint(T, A, B, &mlib_add, "mlib_assert_add", #T, #A, #B, mlib_this_source_location()) | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:164:7: note: in expansion of macro ‘mlib_assert_add’ 164 | mlib_assert_add(size_t, 41, -42); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:66:6: note: in definition of macro ‘mlib_bits’ 66 | ((NumOnes) \ | ^~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:78:26: note: in expansion of macro ‘mlib_bitsizeof’ 78 | : ((T) mlib_bits(mlib_bitsizeof(T), 0)))) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:180:28: note: in expansion of macro ‘mlib_maxof’ 180 | mlib_maxof(T), \ | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:127:4: note: in expansion of macro ‘_mlib_assert_ckdint’ 127 | _mlib_assert_ckdint(T, A, B, &mlib_add, "mlib_assert_add", #T, #A, #B, mlib_this_source_location()) | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:167:7: note: in expansion of macro ‘mlib_assert_add’ 167 | mlib_assert_add(ptrdiff_t, 41, SIZE_MAX); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:66:6: note: in definition of macro ‘mlib_bits’ 66 | ((NumOnes) \ | ^~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:78:26: note: in expansion of macro ‘mlib_bitsizeof’ 78 | : ((T) mlib_bits(mlib_bitsizeof(T), 0)))) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:180:28: note: in expansion of macro ‘mlib_maxof’ 180 | mlib_maxof(T), \ | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:127:4: note: in expansion of macro ‘_mlib_assert_ckdint’ 127 | _mlib_assert_ckdint(T, A, B, &mlib_add, "mlib_assert_add", #T, #A, #B, mlib_this_source_location()) | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:170:23: note: in expansion of macro ‘mlib_assert_add’ 170 | const size_t sum = mlib_assert_add(size_t, -32, 33); | ^~~~~~~~~~~~~~~ [ 1%] Building C object src/libbson/CMakeFiles/bson_shared.dir/__/common/src/common-b64.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson && /usr/bin/gcc -DBSON_COMPILATION -DJSONSL_PARSE_NAN -DMCOMMON_NAME_PREFIX=_bson_mcommon -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dbson_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -fvisibility=hidden -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libbson/CMakeFiles/bson_shared.dir/__/common/src/common-b64.c.o -MF CMakeFiles/bson_shared.dir/__/common/src/common-b64.c.o.d -o CMakeFiles/bson_shared.dir/__/common/src/common-b64.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/common-b64.c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = char; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = char; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = char; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = char; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = char; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = char; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = char; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = char; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = char; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = char; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ [ 2%] Building C object src/libbson/CMakeFiles/bson_shared.dir/__/common/src/common-json.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson && /usr/bin/gcc -DBSON_COMPILATION -DJSONSL_PARSE_NAN -DMCOMMON_NAME_PREFIX=_bson_mcommon -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dbson_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -fvisibility=hidden -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libbson/CMakeFiles/bson_shared.dir/__/common/src/common-json.c.o -MF CMakeFiles/bson_shared.dir/__/common/src/common-json.c.o.d -o CMakeFiles/bson_shared.dir/__/common/src/common-json.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/common-json.c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = char; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = char; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = char; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = char; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = char; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = char; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = char; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = char; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = char; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = char; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = char; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = char; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = unsigned char; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = unsigned char; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = unsigned char; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = unsigned char; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = unsigned char; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = unsigned char; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = unsigned char; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = unsigned char; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = unsigned char; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = unsigned char; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = unsigned char; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = unsigned char; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = unsigned char; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = unsigned char; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = unsigned char; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = unsigned char; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = unsigned char; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = unsigned char; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = unsigned char; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = unsigned char; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = unsigned char; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = unsigned char; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = signed char; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = signed char; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = signed char; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = signed char; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = signed char; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = signed char; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = signed char; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = signed char; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = signed char; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = signed char; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = signed char; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = signed char; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = signed char; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = signed char; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = signed char; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = signed char; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = signed char; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = signed char; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = signed char; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = signed char; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = signed char; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = signed char; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = short int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = short int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = short int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = short int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = short int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = short int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = short int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = short int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = short int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = short int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = short int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = short int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = short int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = short int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = short int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = short int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = short int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = short int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = short int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = short int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = short int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = short int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = short unsigned int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = short unsigned int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = short unsigned int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = short unsigned int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = short unsigned int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = short unsigned int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = short unsigned int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = short unsigned int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = short unsigned int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = short unsigned int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = short unsigned int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = short unsigned int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = short unsigned int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = short unsigned int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = short unsigned int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = short unsigned int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = short unsigned int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = short unsigned int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = short unsigned int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = short unsigned int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = short unsigned int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = short unsigned int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ [ 2%] Building C object src/libbson/CMakeFiles/bson_shared.dir/__/common/src/common-md5.c.o /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson && /usr/bin/gcc -DBSON_COMPILATION -DJSONSL_PARSE_NAN -DMCOMMON_NAME_PREFIX=_bson_mcommon -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dbson_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -fvisibility=hidden -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libbson/CMakeFiles/bson_shared.dir/__/common/src/common-md5.c.o -MF CMakeFiles/bson_shared.dir/__/common/src/common-md5.c.o.d -o CMakeFiles/bson_shared.dir/__/common/src/common-md5.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/common-md5.c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = unsigned int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = unsigned int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = unsigned int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = unsigned int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = unsigned int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = unsigned int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = unsigned int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = unsigned int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = unsigned int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = unsigned int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = unsigned int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = unsigned int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = unsigned int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = unsigned int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = unsigned int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = unsigned int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = unsigned int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = unsigned int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = unsigned int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = unsigned int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = unsigned int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = unsigned int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ [ 3%] Building C object src/libbson/CMakeFiles/bson_shared.dir/__/common/src/common-oid.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson && /usr/bin/gcc -DBSON_COMPILATION -DJSONSL_PARSE_NAN -DMCOMMON_NAME_PREFIX=_bson_mcommon -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dbson_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -fvisibility=hidden -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libbson/CMakeFiles/bson_shared.dir/__/common/src/common-oid.c.o -MF CMakeFiles/bson_shared.dir/__/common/src/common-oid.c.o.d -o CMakeFiles/bson_shared.dir/__/common/src/common-oid.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/common-oid.c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = long int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = long int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = long int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = long int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = long int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = long int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = long int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = long int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = long int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = long int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = long int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = long int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = long int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = long int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = long int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = long int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = long int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = long int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = long int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = long int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = long int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = long int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = long unsigned int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = long unsigned int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ [ 3%] Building C object src/libbson/CMakeFiles/bson_shared.dir/__/common/src/common-string.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson && /usr/bin/gcc -DBSON_COMPILATION -DJSONSL_PARSE_NAN -DMCOMMON_NAME_PREFIX=_bson_mcommon -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dbson_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -fvisibility=hidden -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libbson/CMakeFiles/bson_shared.dir/__/common/src/common-string.c.o -MF CMakeFiles/bson_shared.dir/__/common/src/common-string.c.o.d -o CMakeFiles/bson_shared.dir/__/common/src/common-string.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/common-string.c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = long unsigned int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = long unsigned int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = long unsigned int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = long unsigned int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = long unsigned int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = long unsigned int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = long unsigned int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = long unsigned int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = long unsigned int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = long unsigned int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = long unsigned int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = long unsigned int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = long unsigned int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = long unsigned int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = long unsigned int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = long unsigned int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = long unsigned int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = long unsigned int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = long unsigned int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = long unsigned int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = long long int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = long long int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = long long int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = long long int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = long long int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = long long int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = long long int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = long long int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = long long int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = long long int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = long long int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = long long int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = long long int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = long long int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = long long int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = long long int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = long long int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = long long int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = long long int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = long long int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = long long int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = long long int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = long long unsigned int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = long long unsigned int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = long long unsigned int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = long long unsigned int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = long long unsigned int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = long long unsigned int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = long long unsigned int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = long long unsigned int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = long long unsigned int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = long long unsigned int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = long long unsigned int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = long long unsigned int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = long long unsigned int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = long long unsigned int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = long long unsigned int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = long long unsigned int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = long long unsigned int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = long long unsigned int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = long long unsigned int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = long long unsigned int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ [ 4%] Building C object src/libbson/CMakeFiles/bson_shared.dir/__/common/src/common-thread.c.o /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson && /usr/bin/gcc -DBSON_COMPILATION -DJSONSL_PARSE_NAN -DMCOMMON_NAME_PREFIX=_bson_mcommon -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dbson_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -fvisibility=hidden -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libbson/CMakeFiles/bson_shared.dir/__/common/src/common-thread.c.o -MF CMakeFiles/bson_shared.dir/__/common/src/common-thread.c.o.d -o CMakeFiles/bson_shared.dir/__/common/src/common-thread.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/common-thread.c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = char; L = long long unsigned int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = char; L = long long unsigned int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = char; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = char; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = char; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = char; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = char; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = char; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = char; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = char; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = char; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = char; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = char; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = char; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = char; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = char; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = char; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = char; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = char; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = char; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = char; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = char; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = char; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ [ 5%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-bcon.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson && /usr/bin/gcc -DBSON_COMPILATION -DJSONSL_PARSE_NAN -DMCOMMON_NAME_PREFIX=_bson_mcommon -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dbson_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -fvisibility=hidden -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-bcon.c.o -MF CMakeFiles/bson_shared.dir/src/bson/bson-bcon.c.o.d -o CMakeFiles/bson_shared.dir/src/bson/bson-bcon.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src/bson/bson-bcon.c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = char; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = char; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = unsigned char; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = unsigned char; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = unsigned char; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = unsigned char; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = unsigned char; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = unsigned char; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = unsigned char; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = unsigned char; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = unsigned char; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = unsigned char; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = unsigned char; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = unsigned char; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = unsigned char; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = unsigned char; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = unsigned char; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = unsigned char; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = unsigned char; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = unsigned char; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = unsigned char; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = unsigned char; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = unsigned char; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = unsigned char; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = signed char; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = signed char; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = signed char; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = signed char; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = signed char; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = signed char; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = signed char; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = signed char; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = signed char; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = signed char; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = signed char; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = signed char; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = signed char; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = signed char; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = signed char; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = signed char; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = signed char; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = signed char; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = signed char; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = signed char; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = signed char; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = signed char; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = short int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = short int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = short int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = short int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = short int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = short int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = short int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = short int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = short int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = short int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = short int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = short int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = short int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = short int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = short int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = short int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = short int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = short int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = short int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = short int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = short int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = short int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = short unsigned int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = short unsigned int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = short unsigned int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = short unsigned int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = short unsigned int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = short unsigned int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = short unsigned int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = short unsigned int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = short unsigned int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = short unsigned int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = short unsigned int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = short unsigned int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = short unsigned int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = short unsigned int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = short unsigned int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = short unsigned int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = short unsigned int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = short unsigned int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ [ 5%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-clock.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson && /usr/bin/gcc -DBSON_COMPILATION -DJSONSL_PARSE_NAN -DMCOMMON_NAME_PREFIX=_bson_mcommon -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dbson_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -fvisibility=hidden -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-clock.c.o -MF CMakeFiles/bson_shared.dir/src/bson/bson-clock.c.o.d -o CMakeFiles/bson_shared.dir/src/bson/bson-clock.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src/bson/bson-clock.c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = short unsigned int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = short unsigned int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = short unsigned int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = short unsigned int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = unsigned int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = unsigned int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = unsigned int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = unsigned int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = unsigned int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = unsigned int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ [ 6%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-context.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson && /usr/bin/gcc -DBSON_COMPILATION -DJSONSL_PARSE_NAN -DMCOMMON_NAME_PREFIX=_bson_mcommon -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dbson_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -fvisibility=hidden -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-context.c.o -MF CMakeFiles/bson_shared.dir/src/bson/bson-context.c.o.d -o CMakeFiles/bson_shared.dir/src/bson/bson-context.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src/bson/bson-context.c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = unsigned int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = unsigned int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = unsigned int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = unsigned int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = unsigned int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = unsigned int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = unsigned int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = unsigned int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = unsigned int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = unsigned int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = unsigned int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = unsigned int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = unsigned int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = unsigned int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = unsigned int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = unsigned int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = long int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = long int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = long int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = long int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = long int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = long int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = long int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = long int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = long int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = long int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = long int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = long int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = long int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = long int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = long int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = long int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = long int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = long int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = long int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = long int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = long int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = long int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = long unsigned int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = long unsigned int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = long unsigned int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = long unsigned int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = long unsigned int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = long unsigned int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = long unsigned int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = long unsigned int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = long unsigned int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = long unsigned int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = long unsigned int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = long unsigned int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = long unsigned int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = long unsigned int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = long unsigned int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = long unsigned int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = long unsigned int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = long unsigned int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ [ 6%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-decimal128.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson && /usr/bin/gcc -DBSON_COMPILATION -DJSONSL_PARSE_NAN -DMCOMMON_NAME_PREFIX=_bson_mcommon -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dbson_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -fvisibility=hidden -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-decimal128.c.o -MF CMakeFiles/bson_shared.dir/src/bson/bson-decimal128.c.o.d -o CMakeFiles/bson_shared.dir/src/bson/bson-decimal128.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src/bson/bson-decimal128.c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = long unsigned int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = long unsigned int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = long unsigned int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = long unsigned int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = long long int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = long long int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = long long int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = long long int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = long long int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = long long int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = long long int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = long long int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = long long int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = long long int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = long long int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = long long int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = long long int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = long long int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = long long int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = long long int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = long long int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = long long int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = long long int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = long long int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = long long int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = long long int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = long long unsigned int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = long long unsigned int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = long long unsigned int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = long long unsigned int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = long long unsigned int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = long long unsigned int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = long long unsigned int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = long long unsigned int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = long long unsigned int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = long long unsigned int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = long long unsigned int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = long long unsigned int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = long long unsigned int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = long long unsigned int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = long long unsigned int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = long long unsigned int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = long long unsigned int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = long long unsigned int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = long long unsigned int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = long long unsigned int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned char; L = long long unsigned int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned char; L = long long unsigned int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned char; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = char; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = char; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = char; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = char; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = char; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = char; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = char; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = char; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = char; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = char; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = char; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = char; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = char; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = char; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = char; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = char; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = char; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = char; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = char; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = char; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ [ 7%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-iso8601.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson && /usr/bin/gcc -DBSON_COMPILATION -DJSONSL_PARSE_NAN -DMCOMMON_NAME_PREFIX=_bson_mcommon -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dbson_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -fvisibility=hidden -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-iso8601.c.o -MF CMakeFiles/bson_shared.dir/src/bson/bson-iso8601.c.o.d -o CMakeFiles/bson_shared.dir/src/bson/bson-iso8601.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src/bson/bson-iso8601.c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = char; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = char; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = unsigned char; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = unsigned char; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = unsigned char; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = unsigned char; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = unsigned char; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = unsigned char; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = unsigned char; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = unsigned char; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = unsigned char; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = unsigned char; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = unsigned char; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = unsigned char; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = unsigned char; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = unsigned char; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = unsigned char; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = unsigned char; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = unsigned char; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = unsigned char; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = unsigned char; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = unsigned char; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = unsigned char; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = unsigned char; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ [ 7%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-iter.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson && /usr/bin/gcc -DBSON_COMPILATION -DJSONSL_PARSE_NAN -DMCOMMON_NAME_PREFIX=_bson_mcommon -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dbson_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -fvisibility=hidden -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-iter.c.o -MF CMakeFiles/bson_shared.dir/src/bson/bson-iter.c.o.d -o CMakeFiles/bson_shared.dir/src/bson/bson-iter.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src/bson/bson-iter.c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = signed char; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = signed char; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = signed char; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = signed char; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = signed char; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = signed char; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = signed char; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = signed char; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = signed char; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = signed char; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = signed char; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = signed char; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = signed char; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = signed char; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = signed char; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = signed char; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = signed char; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = signed char; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = signed char; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = signed char; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = signed char; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = signed char; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = short int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = short int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = short int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = short int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = short int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = short int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = short int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = short int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = short int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = short int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = short int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = short int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = short int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = short int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = short int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = short int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = short int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = short int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = short int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = short int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = short int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = short int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = short unsigned int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = short unsigned int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = short unsigned int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = short unsigned int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = short unsigned int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = short unsigned int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = short unsigned int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = short unsigned int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = short unsigned int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = short unsigned int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = short unsigned int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = short unsigned int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = short unsigned int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = short unsigned int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = short unsigned int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = short unsigned int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = short unsigned int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = short unsigned int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = short unsigned int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = short unsigned int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = short unsigned int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = short unsigned int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ [ 8%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-json.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson && /usr/bin/gcc -DBSON_COMPILATION -DJSONSL_PARSE_NAN -DMCOMMON_NAME_PREFIX=_bson_mcommon -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dbson_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -fvisibility=hidden -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-json.c.o -MF CMakeFiles/bson_shared.dir/src/bson/bson-json.c.o.d -o CMakeFiles/bson_shared.dir/src/bson/bson-json.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src/bson/bson-json.c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = unsigned int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = unsigned int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = unsigned int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = unsigned int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = unsigned int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = unsigned int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = unsigned int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = unsigned int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = unsigned int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = unsigned int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = unsigned int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = unsigned int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = unsigned int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = unsigned int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = unsigned int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = unsigned int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = unsigned int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = unsigned int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = unsigned int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = unsigned int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = unsigned int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = unsigned int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = long int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = long int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = long int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = long int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = long int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = long int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = long int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = long int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = long int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = long int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = long int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = long int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = long int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = long int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = long int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = long int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = long int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = long int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = long int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = long int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = long int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = long int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = long unsigned int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = long unsigned int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = long unsigned int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = long unsigned int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = long unsigned int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = long unsigned int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = long unsigned int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = long unsigned int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = long unsigned int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = long unsigned int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = long unsigned int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = long unsigned int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = long unsigned int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = long unsigned int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = long unsigned int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = long unsigned int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = long unsigned int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = long unsigned int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = long unsigned int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = long unsigned int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = long unsigned int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = long unsigned int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = long long int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = long long int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = long long int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = long long int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = long long int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = long long int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = long long int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = long long int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = long long int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = long long int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = long long int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = long long int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = long long int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = long long int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = long long int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = long long int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = long long int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = long long int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = long long int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = long long int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = long long int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = long long int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = long long unsigned int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = long long unsigned int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = long long unsigned int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = long long unsigned int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = long long unsigned int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = long long unsigned int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = long long unsigned int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = long long unsigned int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = long long unsigned int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = long long unsigned int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = long long unsigned int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = long long unsigned int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = long long unsigned int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = long long unsigned int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = long long unsigned int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = long long unsigned int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = long long unsigned int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = long long unsigned int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = long long unsigned int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = long long unsigned int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = signed char; L = long long unsigned int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = signed char; L = long long unsigned int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = signed char; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = signed char; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = char; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = char; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = char; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = char; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = char; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = char; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = char; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = char; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = char; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = char; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = char; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = char; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = char; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = char; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = char; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = char; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = char; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = char; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = char; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = char; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = char; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = char; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = unsigned char; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = unsigned char; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ [ 8%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-keys.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson && /usr/bin/gcc -DBSON_COMPILATION -DJSONSL_PARSE_NAN -DMCOMMON_NAME_PREFIX=_bson_mcommon -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dbson_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -fvisibility=hidden -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-keys.c.o -MF CMakeFiles/bson_shared.dir/src/bson/bson-keys.c.o.d -o CMakeFiles/bson_shared.dir/src/bson/bson-keys.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src/bson/bson-keys.c 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = unsigned char; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = unsigned char; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = unsigned char; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = unsigned char; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = unsigned char; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = unsigned char; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = unsigned char; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = unsigned char; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = unsigned char; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = unsigned char; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = unsigned char; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = unsigned char; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = unsigned char; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = unsigned char; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = unsigned char; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = unsigned char; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = unsigned char; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = unsigned char; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = unsigned char; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = unsigned char; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = signed char; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = signed char; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = signed char; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = signed char; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21:[ 9%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-oid.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson && /usr/bin/gcc -DBSON_COMPILATION -DJSONSL_PARSE_NAN -DMCOMMON_NAME_PREFIX=_bson_mcommon -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dbson_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -fvisibility=hidden -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-oid.c.o -MF CMakeFiles/bson_shared.dir/src/bson/bson-oid.c.o.d -o CMakeFiles/bson_shared.dir/src/bson/bson-oid.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src/bson/bson-oid.c note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = signed char; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = signed char; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = signed char; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = signed char; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = signed char; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = signed char; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = signed char; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = signed char; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = signed char; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = signed char; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = signed char; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = signed char; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = signed char; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = signed char; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = signed char; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = signed char; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ [ 10%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-reader.c.o /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson && /usr/bin/gcc -DBSON_COMPILATION -DJSONSL_PARSE_NAN -DMCOMMON_NAME_PREFIX=_bson_mcommon -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dbson_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -fvisibility=hidden -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-reader.c.o -MF CMakeFiles/bson_shared.dir/src/bson/bson-reader.c.o.d -o CMakeFiles/bson_shared.dir/src/bson/bson-reader.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src/bson/bson-reader.c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = signed char; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = signed char; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = short int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = short int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = short int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = short int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = short int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = short int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = short int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = short int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = short int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = short int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = short int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = short int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = short int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = short int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = short int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = short int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = short int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = short int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = short int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = short int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = short int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = short int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = short unsigned int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = short unsigned int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = short unsigned int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = short unsigned int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = short unsigned int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = short unsigned int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = short unsigned int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = short unsigned int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = short unsigned int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = short unsigned int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = short unsigned int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = short unsigned int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = short unsigned int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = short unsigned int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = short unsigned int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = short unsigned int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ [ 10%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-string.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson && /usr/bin/gcc -DBSON_COMPILATION -DJSONSL_PARSE_NAN -DMCOMMON_NAME_PREFIX=_bson_mcommon -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dbson_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -fvisibility=hidden -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-string.c.o -MF CMakeFiles/bson_shared.dir/src/bson/bson-string.c.o.d -o CMakeFiles/bson_shared.dir/src/bson/bson-string.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src/bson/bson-string.c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = short unsigned int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = short unsigned int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = short unsigned int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = short unsigned int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = short unsigned int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = short unsigned int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ [ 11%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-timegm.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson && /usr/bin/gcc -DBSON_COMPILATION -DJSONSL_PARSE_NAN -DMCOMMON_NAME_PREFIX=_bson_mcommon -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dbson_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -fvisibility=hidden -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-timegm.c.o -MF CMakeFiles/bson_shared.dir/src/bson/bson-timegm.c.o.d -o CMakeFiles/bson_shared.dir/src/bson/bson-timegm.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src/bson/bson-timegm.c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = unsigned int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = unsigned int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = unsigned int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = unsigned int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = unsigned int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = unsigned int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = unsigned int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = unsigned int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = unsigned int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = unsigned int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = unsigned int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = unsigned int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = unsigned int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = unsigned int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = unsigned int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = unsigned int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = unsigned int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = unsigned int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = unsigned int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = unsigned int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = unsigned int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = unsigned int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = long int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = long int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = long int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = long int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = long int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = long int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = long int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = long int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = long int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = long int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = long int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = long int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = long int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = long int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = long int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = long int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = long int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = long int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = long int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = long int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = long int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = long int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = long unsigned int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = long unsigned int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = long unsigned int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = long unsigned int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = long unsigned int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = long unsigned int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = long unsigned int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = long unsigned int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = long unsigned int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = long unsigned int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = long unsigned int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = long unsigned int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = long unsigned int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = long unsigned int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = long unsigned int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = long unsigned int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = long unsigned int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = long unsigned int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = long unsigned int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = long unsigned int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = long unsigned int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = long unsigned int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = long long int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = long long int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = long long int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = long long int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = long long int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = long long int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = long long int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = long long int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = long long int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = long long int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = long long int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = long long int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = long long int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = long long int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = long long int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = long long int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = long long int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = long long int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = long long int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = long long int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = long long int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = long long int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = long long unsigned int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = long long unsigned int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = long long unsigned int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = long long unsigned int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = long long unsigned int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = long long unsigned int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = long long unsigned int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = long long unsigned int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = long long unsigned int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = long long unsigned int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = long long unsigned int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = long long unsigned int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = long long unsigned int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = long long unsigned int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = long long unsigned int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = long long unsigned int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = long long unsigned int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = long long unsigned int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = long long unsigned int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = long long unsigned int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short int; L = long long unsigned int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short int; L = long long unsigned int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = char; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = char; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = char; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = char; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = char; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = char; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = char; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = char; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = char; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = char; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = char; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = char; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = char; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = char; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = char; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = char; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ [ 11%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-utf8.c.o /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = char; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = char; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson && /usr/bin/gcc -DBSON_COMPILATION -DJSONSL_PARSE_NAN -DMCOMMON_NAME_PREFIX=_bson_mcommon -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dbson_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -fvisibility=hidden -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-utf8.c.o -MF CMakeFiles/bson_shared.dir/src/bson/bson-utf8.c.o.d -o CMakeFiles/bson_shared.dir/src/bson/bson-utf8.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src/bson/bson-utf8.c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = char; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = char; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = char; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = char; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = unsigned char; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = unsigned char; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = unsigned char; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = unsigned char; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = unsigned char; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = unsigned char; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = unsigned char; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = unsigned char; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = unsigned char; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = unsigned char; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = unsigned char; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = unsigned char; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = unsigned char; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = unsigned char; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = unsigned char; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = unsigned char; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = unsigned char; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = unsigned char; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = unsigned char; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = unsigned char; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = unsigned char; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = unsigned char; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = signed char; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = signed char; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = signed char; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = signed char; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 1[ 12%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-value.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson && /usr/bin/gcc -DBSON_COMPILATION -DJSONSL_PARSE_NAN -DMCOMMON_NAME_PREFIX=_bson_mcommon -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dbson_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -fvisibility=hidden -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-value.c.o -MF CMakeFiles/bson_shared.dir/src/bson/bson-value.c.o.d -o CMakeFiles/bson_shared.dir/src/bson/bson-value.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src/bson/bson-value.c 79 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = signed char; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = signed char; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = signed char; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = signed char; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = signed char; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = signed char; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = signed char; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = signed char; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = signed char; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = signed char; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = signed char; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = signed char; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = signed char; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = signed char; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = signed char; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = signed char; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = signed char; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = signed char; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ [ 12%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-vector.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson && /usr/bin/gcc -DBSON_COMPILATION -DJSONSL_PARSE_NAN -DMCOMMON_NAME_PREFIX=_bson_mcommon -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dbson_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -fvisibility=hidden -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-vector.c.o -MF CMakeFiles/bson_shared.dir/src/bson/bson-vector.c.o.d -o CMakeFiles/bson_shared.dir/src/bson/bson-vector.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src/bson/bson-vector.c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = short int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = short int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = short int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = short int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = short int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = short int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = short int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = short int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = short int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = short int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = short int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = short int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = short int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = short int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = short int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = short int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = short int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = short int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = short int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = short int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = short int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = short int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = short unsigned int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = short unsigned int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = short unsigned int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = short unsigned int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = short unsigned int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = short unsigned int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = short unsigned int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = short unsigned int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = short unsigned int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = short unsigned int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = short unsigned int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = short unsigned int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = short unsigned int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = short unsigned int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = short unsigned int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = short unsigned int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = short unsigned int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = short unsigned int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = short unsigned int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = short unsigned int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = short unsigned int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = short unsigned int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = unsigned int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = unsigned int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = unsigned int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = unsigned int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = unsigned int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = unsigned int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = unsigned int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = unsigned int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = unsigned int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = unsigned int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = unsigned int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = unsigned int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ [ 13%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-version-functions.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson && /usr/bin/gcc -DBSON_COMPILATION -DJSONSL_PARSE_NAN -DMCOMMON_NAME_PREFIX=_bson_mcommon -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dbson_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -fvisibility=hidden -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-version-functions.c.o -MF CMakeFiles/bson_shared.dir/src/bson/bson-version-functions.c.o.d -o CMakeFiles/bson_shared.dir/src/bson/bson-version-functions.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src/bson/bson-version-functions.c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = unsigned int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = unsigned int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = unsigned int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = unsigned int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = unsigned int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = unsigned int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = unsigned int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = unsigned int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21:[ 14%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-writer.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson && /usr/bin/gcc -DBSON_COMPILATION -DJSONSL_PARSE_NAN -DMCOMMON_NAME_PREFIX=_bson_mcommon -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dbson_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -fvisibility=hidden -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-writer.c.o -MF CMakeFiles/bson_shared.dir/src/bson/bson-writer.c.o.d -o CMakeFiles/bson_shared.dir/src/bson/bson-writer.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src/bson/bson-writer.c note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = unsigned int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = unsigned int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = long int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = long int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = long int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = long int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = long int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = long int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = long int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = long int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = long int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = long int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = long int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = long int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intm[ 14%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson.c.o ax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = long int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = long int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = long int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = long int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 1cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson && /usr/bin/gcc -DBSON_COMPILATION -DJSONSL_PARSE_NAN -DMCOMMON_NAME_PREFIX=_bson_mcommon -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dbson_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -fvisibility=hidden -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson.c.o -MF CMakeFiles/bson_shared.dir/src/bson/bson.c.o.d -o CMakeFiles/bson_shared.dir/src/bson/bson.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src/bson/bson.c 79 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = long int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = long int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = long int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = long int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = long int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = long int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = long unsigned int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = long unsigned int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = long unsigned int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = long unsigned int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = long unsigned int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = long unsigned int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = long unsigned int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = long unsigned int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = long unsigned int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = long unsigned int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = long unsigned int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = long unsigned int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = long unsigned int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = long unsigned int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = long unsigned int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = long unsigned int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = long unsigned int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = long unsigned int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = long unsigned int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = long unsigned int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = long unsigned int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = long unsigned int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = long long int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = long long int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = long long int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = long long int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = long long int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = long long int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = long long int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = long long int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = long long int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = long long int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = long long int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = long long int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = long long int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = long long int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = long long int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = long long int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = long long int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = long long int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = long long int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = long long int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = long long int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = long long int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = long long unsigned int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = long long unsigned int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = long long unsigned int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = long long unsigned int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = long long unsigned int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = long long unsigned int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = long long unsigned int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = long long unsigned int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = long long unsigned int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = long long unsigned int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = long long unsigned int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = long long unsigned int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = long long unsigned int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = long long unsigned int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = long long unsigned int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = long long unsigned int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = long long unsigned int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = long long unsigned int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = long long unsigned int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = long long unsigned int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = short unsigned int; L = long long unsigned int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = short unsigned int; L = long long unsigned int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = short unsigned int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = short unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = char; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = char; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = char; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = char; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = char; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = char; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = char; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = char; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = char; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = char; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = char; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = char; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = char; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = char; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = char; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = char; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = char; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = char; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = char; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = char; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = char; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = char; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = unsigned char; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = unsigned char; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = unsigned char; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = unsigned char; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = unsigned char; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = unsigned char; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = unsigned char; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = unsigned char; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = unsigned char; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = unsigned char; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = unsigned char; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = unsigned char; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = unsigned char; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = unsigned char; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = unsigned char; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = unsigned char; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = unsigned char; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = unsigned char; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = unsigned char; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = unsigned char; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = unsigned char; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = unsigned char; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = signed char; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = signed char; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = signed char; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = signed char; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = signed char; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = signed char; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = signed char; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = signed char; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = signed char; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = signed char; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = signed char; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = signed char; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = signed char; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = signed char; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = signed char; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = signed char; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = signed char; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = signed char; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = signed char; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = signed char; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = signed char; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = signed char; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = short int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = short int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = short int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = short int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = short int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = short int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = short int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = short int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = short int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = short int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = short int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = short int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = short int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = short int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = short int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = short int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = short int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = short int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = short int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = short int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = short int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = short int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = short unsigned int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = short unsigned int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = short unsigned int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = short unsigned int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = short unsigned int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = short unsigned int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = short unsigned int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = short unsigned int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = short unsigned int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = short unsigned int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = short unsigned int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = short unsigned int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = short unsigned int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = short unsigned int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = short unsigned int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = short unsigned int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = short unsigned int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = short unsigned int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = short unsigned int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = short unsigned int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = short unsigned int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = short unsigned int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = unsigned int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = unsigned int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = unsigned int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = unsigned int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = unsigned int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = unsigned int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = unsigned int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = unsigned int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = unsigned int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = unsigned int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = unsigned int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = unsigned int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = unsigned int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = unsigned int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = unsigned int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = unsigned int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = unsigned int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = unsigned int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = unsigned int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = unsigned int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = unsigned int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = unsigned int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = long int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = long int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = long int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = long int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = long int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = long int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = long int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = long int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = long int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = long int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = long int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = long int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = long int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = long int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = long int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = long int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = long int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = long int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = long int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = long int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = long int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = long int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = long unsigned int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = long unsigned int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = long unsigned int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = long unsigned int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = long unsigned int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = long unsigned int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = long unsigned int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = long unsigned int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = long unsigned int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = long unsigned int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = long unsigned int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = long unsigned int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = long unsigned int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = long unsigned int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = long unsigned int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = long unsigned int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = long unsigned int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = long unsigned int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = long unsigned int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = long unsigned int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = long unsigned int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = long unsigned int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = long long int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = long long int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = long long int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = long long int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = long long int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = long long int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = long long int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = long long int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = long long int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = long long int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = long long int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = long long int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = long long int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = long long int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = long long int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = long long int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = long long int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = long long int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = long long int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = long long int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = long long int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = long long int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = long long unsigned int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = long long unsigned int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = long long unsigned int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = long long unsigned int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = long long unsigned int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = long long unsigned int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = long long unsigned int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = long long unsigned int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = long long unsigned int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = long long unsigned int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = long long unsigned int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = long long unsigned int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = long long unsigned int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = long long unsigned int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = long long unsigned int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = long long unsigned int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = long long unsigned int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = long long unsigned int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = long long unsigned int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = long long unsigned int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = int; L = long long unsigned int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = int; L = long long unsigned int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = char; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = char; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = char; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = char; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = char; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = char; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = char; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = char; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = char; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = char; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intm[ 15%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/error.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson && /usr/bin/gcc -DBSON_COMPILATION -DJSONSL_PARSE_NAN -DMCOMMON_NAME_PREFIX=_bson_mcommon -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dbson_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -fvisibility=hidden -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libbson/CMakeFiles/bson_shared.dir/src/bson/error.c.o -MF CMakeFiles/bson_shared.dir/src/bson/error.c.o.d -o CMakeFiles/bson_shared.dir/src/bson/error.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src/bson/error.c ax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = char; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = char; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = char; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = char; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = char; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = char; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = char; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = char; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = char; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = char; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = char; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = char; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = unsigned char; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = unsigned char; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = unsigned char; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = unsigned char; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = unsigned char; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = unsigned char; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = unsigned char; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = unsigned char; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = unsigned char; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = unsigned char; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = unsigned char; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = unsigned char; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = unsigned char; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = unsigned char; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = unsigned char; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = unsigned char; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = unsigned char; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = unsigned char; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = unsigned char; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = unsigned char; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = unsigned char; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = unsigned char; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = signed char; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = signed char; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = signed char; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = signed char; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = signed char; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = signed char; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = signed char; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = signed char; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = signed char; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = signed char; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = signed char; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = signed char; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = signed char; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = signed char; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = signed char; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = signed char; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = signed char; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = signed char; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = signed char; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = signed char; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ [ 15%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/memory.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson && /usr/bin/gcc -DBSON_COMPILATION -DJSONSL_PARSE_NAN -DMCOMMON_NAME_PREFIX=_bson_mcommon -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dbson_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -fvisibility=hidden -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libbson/CMakeFiles/bson_shared.dir/src/bson/memory.c.o -MF CMakeFiles/bson_shared.dir/src/bson/memory.c.o.d -o CMakeFiles/bson_shared.dir/src/bson/memory.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src/bson/memory.c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = signed char; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = signed char; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = short int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = short int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = short int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = short int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = short int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = short int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = short int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = short int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = short int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = short int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = short int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = short int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = short int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = short int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = short int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = short int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = short int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = short int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = short int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = short int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = short int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = short int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = short unsigned int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = short unsigned int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = short unsigned int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = short unsigned int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = short unsigned int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = short unsigned int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = short unsigned int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = short unsigned int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = short unsigned int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = short unsigned int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = short unsigned int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = short unsigned int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ [ 16%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/validate.c.o /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson && /usr/bin/gcc -DBSON_COMPILATION -DJSONSL_PARSE_NAN -DMCOMMON_NAME_PREFIX=_bson_mcommon -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dbson_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -fvisibility=hidden -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libbson/CMakeFiles/bson_shared.dir/src/bson/validate.c.o -MF CMakeFiles/bson_shared.dir/src/bson/validate.c.o.d -o CMakeFiles/bson_shared.dir/src/bson/validate.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src/bson/validate.c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = short unsigned int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = short unsigned int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = short unsigned int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = short unsigned int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = short unsigned int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = short unsigned int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = short unsigned int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = short unsigned int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = short unsigned int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = short unsigned int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = unsigned int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = unsigned int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = unsigned int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = unsigned int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = unsigned int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = unsigned int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = unsigned int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = unsigned int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = unsigned int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = unsigned int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ [ 16%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/jsonsl/jsonsl.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson && /usr/bin/gcc -DBSON_COMPILATION -DJSONSL_PARSE_NAN -DMCOMMON_NAME_PREFIX=_bson_mcommon -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dbson_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -fvisibility=hidden -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libbson/CMakeFiles/bson_shared.dir/src/jsonsl/jsonsl.c.o -MF CMakeFiles/bson_shared.dir/src/jsonsl/jsonsl.c.o.d -o CMakeFiles/bson_shared.dir/src/jsonsl/jsonsl.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src/jsonsl/jsonsl.c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = unsigned int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = unsigned int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = unsigned int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = unsigned int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = unsigned int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = unsigned int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = unsigned int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = unsigned int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 1gmake[2]: Leaving directory '/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build' [ 16%] Built target bson-man /usr/bin/gmake -f src/libbson/CMakeFiles/bson-doc.dir/build.make src/libbson/CMakeFiles/bson-doc.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build' cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/mongo-c-driver-2.3.1 /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/CMakeFiles/bson-doc.dir/DependInfo.cmake "--color=" 79 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = unsigned int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = unsigned int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = unsigned int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = unsigned int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = long int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = long int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = long int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = long int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = long int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = long int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmgmake[2]: Leaving directory '/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build' /usr/bin/gmake -f src/libbson/CMakeFiles/bson-doc.dir/build.make src/libbson/CMakeFiles/bson-doc.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build' gmake[2]: Nothing to be done for 'src/libbson/CMakeFiles/bson-doc.dir/build'. gmake[2]: Leaving directory '/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build' [ 16%] Built target bson-doc ax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = long int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = long int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = long int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = long int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = long int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = long int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = long int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = long int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = long int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = long int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = long int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = long int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = long int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = long int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = long int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = long int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = long unsigned int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = long unsigned int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = long unsigned int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = long unsigned int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = long unsigned int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = long unsigned int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = long unsigned int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = long unsigned int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = long unsigned int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = long unsigned int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = long unsigned int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = long unsigned int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = long unsigned int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = long unsigned int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = long unsigned int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = long unsigned int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = long unsigned int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = long unsigned int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = long unsigned int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = long unsigned int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = long unsigned int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = long unsigned int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = long long int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = long long int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = long long int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = long long int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = long long int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = long long int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = long long int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = long long int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = long long int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = long long int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = long long int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = long long int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = long long int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = long long int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21:[ 17%] Linking C shared library libbson2.so note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = long long int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = long long int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = long long int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = long long int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson && /usr/bin/cmake -E cmake_link_script CMakeFiles/bson_shared.dir/link.txt --verbose=1 /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = long long int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = long long int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = long long int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = long long int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = long long unsigned int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = long long unsigned int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = long long unsigned int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = long long unsigned int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = long long unsigned int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = long long unsigned int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = long long unsigned int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = long long unsigned int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = long long unsigned int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = long long unsigned int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = long long unsigned int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = long long unsigned int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = long long unsigned int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = long long unsigned int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = long long unsigned int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = long long unsigned int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = long long unsigned int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = long long unsigned int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = long long unsigned int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = long long unsigned int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = unsigned int; L = long long unsigned int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = unsigned int; L = long long unsigned int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = unsigned int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = char; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = char; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = char; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = char; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = char; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = char; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = char; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = char; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = char; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = char; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = char; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = char; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = char; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = char; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = char; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = char; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = char; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = char; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = char; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = char; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = char; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = char; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = unsigned char; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = unsigned char; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = unsigned char; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = unsigned char; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = unsigned char; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = unsigned char; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = unsigned char; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = unsigned char; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = unsigned char; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = unsigned char; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = unsigned char; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = unsigned char; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = unsigned char; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = unsigned char; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = unsigned char; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = unsigned char; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = unsigned char; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = unsigned char; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = unsigned char; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = unsigned char; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = unsigned char; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = unsigned char; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = signed char; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = signed char; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = signed char; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = signed char; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = signed char; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = signed char; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = signed char; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = signed char; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = signed char; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = signed char; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = signed char; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = signed char; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = signed char; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = signed char; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = signed char; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = signed char; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = signed char; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = signed char; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = signed char; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = signed char; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = signed char; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = signed char; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = short int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = short int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = short int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = short int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = short int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = short int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = short int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = short int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = short int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = short int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = short int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = short int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = short int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = short int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = short int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = short int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = short int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = short int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = short int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = short int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = short int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = short int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = short unsigned int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = short unsigned int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = short unsigned int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = short unsigned int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = short unsigned int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = short unsigned int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = short unsigned int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = short unsigned int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = short unsigned int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = short unsigned int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = short unsigned int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = short unsigned int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = short unsigned int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = short unsigned int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = short unsigned int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = short unsigned int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = short unsigned int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = short unsigned int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = short unsigned int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = short unsigned int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = short unsigned int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = short unsigned int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = unsigned int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = unsigned int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = unsigned int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = unsigned int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = unsigned int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = unsigned int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = unsigned int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = unsigned int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = unsigned int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = unsigned int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = unsigned int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = unsigned int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = unsigned int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = unsigned int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = unsigned int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = unsigned int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = unsigned int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = unsigned int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = unsigned int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = unsigned int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = unsigned int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = unsigned int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = long int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = long int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = long int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = long int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = long int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = long int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = long int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = long int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = long int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = long int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = long int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = long int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = long int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = long int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = long int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = long int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = long int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = long int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = long int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = long int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = long int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = long int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = long unsigned int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = long unsigned int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = long unsigned int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = long unsigned int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = long unsigned int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = long unsigned int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = long unsigned int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = long unsigned int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = long unsigned int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = long unsigned int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = long unsigned int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = long unsigned int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = long unsigned int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = long unsigned int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = long unsigned int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = long unsigned int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = long unsigned int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = long unsigned int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = long unsigned int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = long unsigned int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = long unsigned int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = long unsigned int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = long long int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = long long int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = long long int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = long long int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = long long int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = long long int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = long long int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = long long int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = long long int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = long long int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = long long int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = long long int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = long long int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = long long int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = long long int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = long long int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = long long int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = long long int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = long long int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = long long int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = long long int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = long long int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = long long unsigned int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = long long unsigned int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = long long unsigned int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = long long unsigned int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = long long unsigned int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = long long unsigned int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = long long unsigned int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = long long unsigned int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = long long unsigned int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = long long unsigned int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = long long unsigned int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = long long unsigned int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = long long unsigned int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = long long unsigned int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = long long unsigned int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = long long unsigned int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = long long unsigned int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = long long unsigned int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = long long unsigned int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = long long unsigned int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long int; L = long long unsigned int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long int; L = long long unsigned int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = char; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = char; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = char; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = char; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = char; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = char; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = char; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = char; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = char; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = char; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = char; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = char; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = char; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = char; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = char; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = char; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = char; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = char; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = char; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = char; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = char; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = char; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = unsigned char; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = unsigned char; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = unsigned char; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = unsigned char; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = unsigned char; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = unsigned char; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = unsigned char; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = unsigned char; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = unsigned char; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = unsigned char; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = unsigned char; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = unsigned char; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = unsigned char; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = unsigned char; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = unsigned char; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = unsigned char; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = unsigned char; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = unsigned char; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = unsigned char; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = unsigned char; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = unsigned char; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = unsigned char; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = signed char; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = signed char; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = signed char; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = signed char; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = signed char; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = signed char; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = signed char; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = signed char; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = signed char; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = signed char; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = signed char; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = signed char; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = signed char; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = signed char; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = signed char; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = signed char; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = signed char; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = signed char; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = signed char; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = signed char; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = signed char; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = signed char; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = short int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = short int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = short int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = short int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = short int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = short int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = short int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = short int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = short int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = short int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = short int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = short int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = short int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = short int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = short int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = short int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = short int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = short int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = short int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = short int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = short int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = short int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = short unsigned int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = short unsigned int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = short unsigned int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = short unsigned int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = short unsigned int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = short unsigned int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = short unsigned int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = short unsigned int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = short unsigned int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = short unsigned int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = short unsigned int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = short unsigned int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = short unsigned int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = short unsigned int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = short unsigned int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = short unsigned int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = short unsigned int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = short unsigned int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = short unsigned int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = short unsigned int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = short unsigned int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = short unsigned int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = unsigned int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = unsigned int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = unsigned int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = unsigned int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = unsigned int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = unsigned int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = unsigned int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = unsigned int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = unsigned int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = unsigned int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = unsigned int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = unsigned int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = unsigned int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = unsigned int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = unsigned int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = unsigned int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = unsigned int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = unsigned int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = unsigned int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = unsigned int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = unsigned int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = unsigned int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = long int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = long int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = long int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = long int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = long int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = long int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = long int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = long int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = long int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = long int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = long int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = long int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = long int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = long int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = long int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = long int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = long int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = long int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = long int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = long int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = long int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = long int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = long unsigned int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = long unsigned int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = long unsigned int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = long unsigned int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = long unsigned int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = long unsigned int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = long unsigned int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = long unsigned int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = long unsigned int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = long unsigned int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = long unsigned int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = long unsigned int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = long unsigned int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = long unsigned int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = long unsigned int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = long unsigned int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = long unsigned int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = long unsigned int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = long unsigned int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = long unsigned int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = long unsigned int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = long unsigned int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = long long int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = long long int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = long long int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = long long int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = long long int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = long long int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = long long int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = long long int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = long long int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = long long int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = long long int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = long long int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = long long int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = long long int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = long long int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = long long int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = long long int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = long long int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = long long int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = long long int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = long long int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = long long int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = long long unsigned int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = long long unsigned int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = long long unsigned int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = long long unsigned int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = long long unsigned int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = long long unsigned int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = long long unsigned int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = long long unsigned int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = long long unsigned int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = long long unsigned int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = long long unsigned int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = long long unsigned int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = long long unsigned int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = long long unsigned int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = long long unsigned int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = long long unsigned int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = long long unsigned int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = long long unsigned int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = long long unsigned int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = long long unsigned int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long unsigned int; L = long long unsigned int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long unsigned int; L = long long unsigned int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long unsigned int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = char; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = char; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = char; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = char; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = char; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = char; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = char; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = char; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = char; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = char; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = char; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = char; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = char; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = char; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = char; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = char; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = char; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = char; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = char; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = char; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = char; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = char; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = unsigned char; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = unsigned char; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = unsigned char; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = unsigned char; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = unsigned char; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = unsigned char; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = unsigned char; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = unsigned char; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = unsigned char; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = unsigned char; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = unsigned char; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = unsigned char; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = unsigned char; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = unsigned char; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = unsigned char; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = unsigned char; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = unsigned char; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = unsigned char; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = unsigned char; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = unsigned char; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = unsigned char; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = unsigned char; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = signed char; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = signed char; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = signed char; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = signed char; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = signed char; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = signed char; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = signed char; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = signed char; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = signed char; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = signed char; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = signed char; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = signed char; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = signed char; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = signed char; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = signed char; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = signed char; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = signed char; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = signed char; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = signed char; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = signed char; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = signed char; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = signed char; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = short int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = short int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = short int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = short int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = short int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = short int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = short int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = short int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = short int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = short int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /usr/bin/gcc -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-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -Wl,--dependency-file=CMakeFiles/bson_shared.dir/link.d -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 -shared -Wl,-soname,libbson2.so.2 -o libbson2.so.2.3.1 "CMakeFiles/bson_shared.dir/__/common/src/common-atomic.c.o" "CMakeFiles/bson_shared.dir/__/common/src/common-b64.c.o" "CMakeFiles/bson_shared.dir/__/common/src/common-json.c.o" "CMakeFiles/bson_shared.dir/__/common/src/common-md5.c.o" "CMakeFiles/bson_shared.dir/__/common/src/common-oid.c.o" "CMakeFiles/bson_shared.dir/__/common/src/common-string.c.o" "CMakeFiles/bson_shared.dir/__/common/src/common-thread.c.o" "CMakeFiles/bson_shared.dir/src/bson/bson-bcon.c.o" "CMakeFiles/bson_shared.dir/src/bson/bson-clock.c.o" "CMakeFiles/bson_shared.dir/src/bson/bson-context.c.o" "CMakeFiles/bson_shared.dir/src/bson/bson-decimal128.c.o" "CMakeFiles/bson_shared.dir/src/bson/bson-iso8601.c.o" "CMakeFiles/bson_shared.dir/src/bson/bson-iter.c.o" "CMakeFiles/bson_shared.dir/src/bson/bson-json.c.o" "CMakeFiles/bson_shared.dir/src/bson/bson-keys.c.o" "CMakeFiles/bson_shared.dir/src/bson/bson-oid.c.o" "CMakeFiles/bson_shared.dir/src/bson/bson-reader.c.o" "CMakeFiles/bson_shared.dir/src/bson/bson-string.c.o" "CMakeFiles/bson_shared.dir/src/bson/bson-timegm.c.o" "CMakeFiles/bson_shared.dir/src/bson/bson-utf8.c.o" "CMakeFiles/bson_shared.dir/src/bson/bson-value.c.o" "CMakeFiles/bson_shared.dir/src/bson/bson-vector.c.o" "CMakeFiles/bson_shared.dir/src/bson/bson-version-functions.c.o" "CMakeFiles/bson_shared.dir/src/bson/bson-writer.c.o" CMakeFiles/bson_shared.dir/src/bson/bson.c.o CMakeFiles/bson_shared.dir/src/bson/error.c.o CMakeFiles/bson_shared.dir/src/bson/memory.c.o CMakeFiles/bson_shared.dir/src/bson/validate.c.o CMakeFiles/bson_shared.dir/src/jsonsl/jsonsl.c.o /usr/lib64/librt.a -lm cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson && /usr/bin/cmake -E cmake_symlink_library libbson2.so.2.3.1 libbson2.so.2 libbson2.so /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = short int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = short int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = short int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = short int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ gmake[2]: Leaving directory '/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build' [ 17%] Built target bson_shared /usr/bin/gmake -f src/libmongoc/CMakeFiles/mongoc_shared.dir/build.make src/libmongoc/CMakeFiles/mongoc_shared.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build' cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/mongo-c-driver-2.3.1 /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/CMakeFiles/mongoc_shared.dir/DependInfo.cmake "--color=" /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = short int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = short int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = short int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = short int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ gmake[2]: Leaving directory '/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build' /usr/bin/gmake -f src/libmongoc/CMakeFiles/mongoc_shared.dir/build.make src/libmongoc/CMakeFiles/mongoc_shared.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build' [ 18%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mcd-azure.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mcd-azure.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mcd-azure.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mcd-azure.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mcd-azure.c [ 18%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mcd-nsinfo.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mcd-nsinfo.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mcd-nsinfo.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mcd-nsinfo.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mcd-nsinfo.c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = short int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = short int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = short int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = short int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = short unsigned int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = short unsigned int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = short unsigned int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = short unsigned int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = short unsigned int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = short unsigned int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = short unsigned int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = short unsigned int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = short unsigned int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = short unsigned int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = short unsigned int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = short unsigned int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = short unsigned int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = short unsigned int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = short unsigned int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = short unsigned int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = short unsigned int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = short unsigned int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = short unsigned int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = short unsigned int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = short unsigned int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = short unsigned int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ [ 19%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mcd-rpc.c.o /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mcd-rpc.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mcd-rpc.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mcd-rpc.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mcd-rpc.c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = unsigned int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = unsigned int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = unsigned int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = unsigned int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = unsigned int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = unsigned int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = unsigned int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = unsigned int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = unsigned int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = unsigned int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = unsigned int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = unsigned int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = unsigned int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = unsigned int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = unsigned int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = unsigned int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = unsigned int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = unsigned int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = unsigned int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = unsigned int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = unsigned int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = unsigned int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = long int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = long int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = long int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = long int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = long int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = long int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = long int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = long int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = long int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = long int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = long int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = long int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = long int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = long int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = long int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = long int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ [ 20%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-aggregate.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-aggregate.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-aggregate.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-aggregate.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-aggregate.c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = long int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = long int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = long int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = long int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = long int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = long int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = long unsigned int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = long unsigned int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = long unsigned int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = long unsigned int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = long unsigned int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = long unsigned int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = long unsigned int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = long unsigned int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = long unsigned int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = long unsigned int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = long unsigned int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = long unsigned int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = long unsigned int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = long unsigned int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = long unsigned int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = long unsigned int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = long unsigned int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = long unsigned int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = long unsigned int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = long unsigned int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = long unsigned int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = long unsigned int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = long long int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = long long int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = long long int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = long long int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = long long int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = long long int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = long long int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = long long int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = long long int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = long long int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = long long int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = long long int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = long long int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = long long int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = long long int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = long long int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = long long int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = long long int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = long long int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = long long int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = long long int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = long long int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = long long unsigned int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = long long unsigned int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = long long unsigned int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = long long unsigned int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = long long unsigned int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = long long unsigned int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = long long unsigned int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = long long unsigned int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = long long unsigned int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = long long unsigned int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = long long unsigned int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = long long unsigned int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = long long unsigned int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = long long unsigned int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = long long unsigned int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = long long unsigned int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = long long unsigned int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = long long unsigned int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = long long unsigned int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = long long unsigned int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long int; L = long long unsigned int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long int; L = long long unsigned int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = char; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = char; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = char; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = char; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = char; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = char; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = char; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = char; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = char; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = char; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = char; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = char; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = char; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = char; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = char; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = char; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = char; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = char; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = char; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = char; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = char; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = char; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = unsigned char; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = unsigned char; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = unsigned char; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = unsigned char; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = unsigned char; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = unsigned char; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = unsigned char; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = unsigned char; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = unsigned char; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = unsigned char; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = unsigned char; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = unsigned char; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = unsigned char; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = unsigned char; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = unsigned char; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = unsigned char; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = unsigned char; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = unsigned char; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = unsigned char; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = unsigned char; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = unsigned char; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = unsigned char; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = unsigned char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ [ 20%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-apm.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-apm.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-apm.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-apm.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-apm.c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = signed char; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = signed char; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = signed char; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = signed char; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = signed char; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = signed char; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = signed char; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = signed char; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = signed char; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = signed char; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = signed char; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = signed char; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = signed char; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = signed char; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = signed char; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = signed char; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = signed char; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = signed char; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = signed char; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = signed char; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = signed char; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = signed char; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = signed char; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ [ 21%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-array.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-array.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-array.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-array.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-array.c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = short int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = short int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = short int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = short int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = short int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = short int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = short int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = short int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = short int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = short int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = short int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = short int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = short int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = short int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ [ 21%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-async.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-async.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-async.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-async.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-async.c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = short int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = short int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = short int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = short int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = short int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = short int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = short int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = short int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = short int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = short unsigned int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = short unsigned int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ [ 22%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-async-cmd.c.o /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-async-cmd.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-async-cmd.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-async-cmd.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-async-cmd.c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = short unsigned int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = short unsigned int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = short unsigned int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = short unsigned int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = short unsigned int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = short unsigned int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = short unsigned int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = short unsigned int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = short unsigned int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = short unsigned int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = short unsigned int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = short unsigned int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = short unsigned int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = short unsigned int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = short unsigned int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = short unsigned int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = short unsigned int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = short unsigned int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = short unsigned int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = short unsigned int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = short unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = unsigned int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = unsigned int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = unsigned int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = unsigned int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = unsigned int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = unsigned int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = unsigned int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = unsigned int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = unsigned int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = unsigned int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = unsigned int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = unsigned int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = unsigned int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = unsigned int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = unsigned int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = unsigned int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = unsigned int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = unsigned int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ [ 22%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-buffer.c.o /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-buffer.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-buffer.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-buffer.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-buffer.c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = unsigned int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = unsigned int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = unsigned int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = unsigned int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = long int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = long int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = long int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = long int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = long int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = long int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = long int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = long int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = long int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = long int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = long int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = long int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = long int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = long int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = long int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = long int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = long int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = long int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = long int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = long int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = long int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = long int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = long unsigned int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = long unsigned int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = long unsigned int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = long unsigned int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = long unsigned int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = long unsigned int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = long unsigned int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = long unsigned int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = long unsigned int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = long unsigned int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = long unsigned int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = long unsigned int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = long unsigned int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = long unsigned int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = long unsigned int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = long unsigned int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = long unsigned int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = long unsigned int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ [ 23%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-bulk-operation.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-bulk-operation.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-bulk-operation.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-bulk-operation.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-bulk-operation.c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = long unsigned int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = long unsigned int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = long unsigned int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = long unsigned int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = long long int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = long long int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = long long int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = long long int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = long long int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = long long int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = long long int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = long long int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = long long int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = long long int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = long long int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = long long int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = long long int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = long long int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = long long int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = long long int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = long long int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = long long int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = long long int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = long long int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = long long int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = long long int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = long long int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = long long unsigned int; R = char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = long long unsigned int; R = char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ [ 23%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-change-stream.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-change-stream.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-change-stream.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-change-stream.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-change-stream.c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = long long unsigned int; R = unsigned char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = long long unsigned int; R = unsigned char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = long long unsigned int; R = signed char]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = long long unsigned int; R = signed char]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = long long unsigned int; R = short int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = long long unsigned int; R = short int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = long long unsigned int; R = short unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = long long unsigned int; R = short unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = long long unsigned int; R = int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = long long unsigned int; R = int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = long long unsigned int; R = unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = long long unsigned int; R = unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = long long unsigned int; R = long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = long long unsigned int; R = long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = long long unsigned int; R = long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = long long unsigned int; R = long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = long long unsigned int; R = long long int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = long long unsigned int; R = long long int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp: In instantiation of ‘void test_case(L, R) [with Dst = long long unsigned int; L = long long unsigned int; R = long long unsigned int]’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:119:24: required from ‘int test_arithmetic() [with Dst = long long unsigned int; L = long long unsigned int; R = long long unsigned int]’ 119 | test_case(lhs, rhs); | ~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:130:46: required from ‘int test_rhs(typelist) [with Dst = long long unsigned int; Lhs = long long unsigned int; Rhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 130 | auto arr = {test_arithmetic()...}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:140:35: required from ‘int test_lhs(typelist) [with Dest = long long unsigned int; Lhs = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 140 | auto arr = {test_rhs(integer_types{})...}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:150:29: required from ‘void test_dst_types(typelist) [with Dst = {char, unsigned char, signed char, short int, short unsigned int, int, unsigned int, long int, long unsigned int, long long int, long long unsigned int}]’ 150 | auto arr = {test_lhs(integer_types{})...}; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:174:18: required from here 174 | test_dst_types(integer_types{}); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:4: note: in expansion of macro ‘mlib_check’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:94:15: note: in expansion of macro ‘mlib_add’ 94 | mlib_check(mlib_add(&mres, lhs, rhs), eq, __builtin_add_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:4: note: in expansion of macro ‘mlib_check’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:91:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 91 | #define mlib_sub(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_sub, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:98:15: note: in expansion of macro ‘mlib_sub’ 98 | mlib_check(mlib_sub(&mres, lhs, rhs), eq, __builtin_sub_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:4: note: in expansion of macro ‘mlib_check’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:105:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 105 | #define mlib_mul(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_mul, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:102:15: note: in expansion of macro ‘mlib_mul’ 102 | mlib_check(mlib_mul(&mres, lhs, rhs), eq, __builtin_mul_overflow(lhs, rhs, &gres)); | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:4: note: in expansion of macro ‘mlib_check’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:106:15: note: in expansion of macro ‘mlib_narrow’ 106 | mlib_check(mlib_narrow(&mres, lhs), eq, __builtin_add_overflow(lhs, 0, &gres)); | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:38:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 38 | #define mlib_bitsizeof(T) ((sizeof(T)) * ((size_t)CHAR_BIT)) | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:40:24: note: in definition of macro ‘MLIB_JUST’ 40 | #define MLIB_JUST(...) __VA_ARGS__ | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/intutil.h:125:56: note: in expansion of macro ‘_mlibShouldTreatBitsAsSigned’ 125 | mlib_upsize_integer((uintmax_t)(intmax_t)((Value)), _mlibShouldTreatBitsAsSigned(Value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:150:21: note: in expansion of macro ‘mlib_upsize_integer’ 150 | mlib_upsize_integer(A), \ | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlibCheckCondition_eq’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_check_argc_4’ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/test.h:129:25: note: in expansion of macro ‘MLIB_ARGC_PICK’ 129 | #define mlib_check(...) MLIB_ARGC_PICK(_mlib_check, #__VA_ARGS__, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:4: note: in expansion of macro ‘mlib_check’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:37: note: in expansion of macro ‘MLIB_JUST’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:4: note: in expansion of macro ‘mlib_bits’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:194:14: note: in expansion of macro ‘mlib_bitsizeof’ 194 | mlib_bits(mlib_bitsizeof((V)), 0) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:171:74: note: in expansion of macro ‘_mlibMaxofUnsigned’ 171 | _mlibClobberIsSigned(*(O), 1) ? _mlibMaxofSigned(*(O)) : _mlibMaxofUnsigned(*(O)), \ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:54:29: note: in expansion of macro ‘_mlib_ckdint_argc_4’ 54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:44:28: note: in expansion of macro ‘_mlibPaste1’ 44 | #define MLIB_PASTE(A, ...) _mlibPaste1(A, __VA_ARGS__) | ^~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:49:33: note: in expansion of macro ‘MLIB_PASTE’ 49 | #define MLIB_PASTE_3(A, B, ...) MLIB_PASTE(A, MLIB_PASTE(B, __VA_ARGS__)) | ^~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:180:38: note: in expansion of macro ‘MLIB_PASTE_3’ 180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__)) | ^~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/config.h:179:47: note: in expansion of macro ‘MLIB_ARGC_PASTE’ 179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:77:23: note: in expansion of macro ‘MLIB_ARGC_PICK’ 77 | #define mlib_add(...) MLIB_ARGC_PICK(_mlib_ckdint, mlib_add, __VA_ARGS__) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.h:114:27: note: in expansion of macro ‘mlib_add’ 114 | #define mlib_narrow(O, A) mlib_add((O), (A), 0) | ^~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/mlib/ckdint.test.cpp:108:15: note: in expansion of macro ‘mlib_narrow’ 108 | mlib_check(mlib_narrow(&mres, rhs), eq, __builtin_add_overflow(rhs, 0, &gres)); | ^~~~~~~~~~~ [ 24%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-client.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-client.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-client.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-client.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-client.c [ 25%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-client-pool.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-client-pool.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-client-pool.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-client-pool.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-client-pool.c [ 25%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-client-side-encryption.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-client-side-encryption.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-client-side-encryption.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-client-side-encryption.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-client-side-encryption.c [ 26%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cluster.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cluster.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cluster.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cluster.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-cluster.c [ 26%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cluster-aws.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cluster-aws.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cluster-aws.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cluster-aws.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-cluster-aws.c In file included from /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-cluster-aws.c:22: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-cluster-aws.c: In function ‘_mongoc_aws_credentials_obtain’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-cluster-aws-private.h:52:4: warning: missing braces around initializer [-Wmissing-braces] 52 | (_mongoc_aws_credentials_t) \ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-cluster-aws.c:764:13: note: in expansion of macro ‘MONGOC_AWS_CREDENTIALS_INIT’ 764 | *creds = MONGOC_AWS_CREDENTIALS_INIT; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-cluster-aws-private.h:52:4: warning: missing braces around initializer [-Wmissing-braces] 52 | (_mongoc_aws_credentials_t) \ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-cluster-aws.c:764:13: note: in expansion of macro ‘MONGOC_AWS_CREDENTIALS_INIT’ 764 | *creds = MONGOC_AWS_CREDENTIALS_INIT; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-cluster-aws.c: In function ‘_mongoc_cluster_auth_node_aws’: /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-cluster-aws-private.h:52:4: warning: missing braces around initializer [-Wmissing-braces] 52 | (_mongoc_aws_credentials_t) \ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-cluster-aws.c:1203:38: note: in expansion of macro ‘MONGOC_AWS_CREDENTIALS_INIT’ 1203 | _mongoc_aws_credentials_t creds = MONGOC_AWS_CREDENTIALS_INIT; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-cluster-aws-private.h:52:4: warning: missing braces around initializer [-Wmissing-braces] 52 | (_mongoc_aws_credentials_t) \ | ^ /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-cluster-aws.c:1203:38: note: in expansion of macro ‘MONGOC_AWS_CREDENTIALS_INIT’ 1203 | _mongoc_aws_credentials_t creds = MONGOC_AWS_CREDENTIALS_INIT; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 27%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cluster-oidc.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cluster-oidc.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cluster-oidc.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cluster-oidc.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-cluster-oidc.c [ 27%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cluster-sasl.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cluster-sasl.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cluster-sasl.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cluster-sasl.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-cluster-sasl.c [ 28%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-collection.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-collection.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-collection.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-collection.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-collection.c [ 29%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-compression.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-compression.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-compression.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-compression.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-compression.c [ 29%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-counters.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-counters.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-counters.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-counters.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-counters.c [ 30%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-crypt.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-crypt.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-crypt.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-crypt.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-crypt.c [ 30%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cursor-array.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cursor-array.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cursor-array.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cursor-array.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-cursor-array.c [ 31%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cursor.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cursor.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cursor.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cursor.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-cursor.c [ 31%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cursor-cmd.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cursor-cmd.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cursor-cmd.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cursor-cmd.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-cursor-cmd.c [ 32%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cursor-change-stream.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cursor-change-stream.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cursor-change-stream.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cursor-change-stream.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-cursor-change-stream.c [ 32%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cursor-find.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cursor-find.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cursor-find.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cursor-find.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-cursor-find.c [ 33%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-database.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-database.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-database.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-database.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-database.c [ 34%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-error.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-error.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-error.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-error.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-error.c [ 34%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-deprioritized-servers.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-deprioritized-servers.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-deprioritized-servers.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-deprioritized-servers.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-deprioritized-servers.c [ 35%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-flags.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-flags.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-flags.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-flags.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-flags.c [ 35%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-find-and-modify.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-find-and-modify.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-find-and-modify.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-find-and-modify.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-find-and-modify.c [ 36%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-generation-map.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-generation-map.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-generation-map.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-generation-map.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-generation-map.c [ 36%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-init.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-init.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-init.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-init.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-init.c [ 37%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-gridfs.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-gridfs.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-gridfs.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-gridfs.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-gridfs.c [ 38%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-gridfs-bucket.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-gridfs-bucket.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-gridfs-bucket.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-gridfs-bucket.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-gridfs-bucket.c [ 38%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-gridfs-bucket-file.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-gridfs-bucket-file.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-gridfs-bucket-file.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-gridfs-bucket-file.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-gridfs-bucket-file.c [ 39%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-gridfs-file.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-gridfs-file.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-gridfs-file.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-gridfs-file.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-gridfs-file.c [ 39%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-gridfs-file-list.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-gridfs-file-list.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-gridfs-file-list.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-gridfs-file-list.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-gridfs-file-list.c [ 40%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-gridfs-file-page.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-gridfs-file-page.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-gridfs-file-page.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-gridfs-file-page.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-gridfs-file-page.c [ 40%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-handshake.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-handshake.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-handshake.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-handshake.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-handshake.c [ 41%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-host-list.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-host-list.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-host-list.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-host-list.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-host-list.c [ 41%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-http.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-http.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-http.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-http.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-http.c [ 42%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-interrupt.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-interrupt.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-interrupt.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-interrupt.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-interrupt.c [ 43%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-jitter-source.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-jitter-source.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-jitter-source.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-jitter-source.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-jitter-source.c [ 43%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-list.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-list.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-list.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-list.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-list.c [ 44%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-linux-distro-scanner.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-linux-distro-scanner.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-linux-distro-scanner.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-linux-distro-scanner.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-linux-distro-scanner.c [ 44%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-log.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-log.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-log.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-log.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-log.c [ 45%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-log-and-monitor-private.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-log-and-monitor-private.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-log-and-monitor-private.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-log-and-monitor-private.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-log-and-monitor-private.c [ 45%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-memcmp.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-memcmp.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-memcmp.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-memcmp.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-memcmp.c [ 46%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cmd.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cmd.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cmd.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cmd.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-cmd.c [ 47%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-oidc-cache.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-oidc-cache.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-oidc-cache.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-oidc-cache.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-oidc-cache.c [ 47%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-oidc-callback.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-oidc-callback.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-oidc-callback.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-oidc-callback.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-oidc-callback.c [ 48%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-oidc-env.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-oidc-env.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-oidc-env.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-oidc-env.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-oidc-env.c [ 48%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-opcode.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-opcode.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-opcode.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-opcode.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-opcode.c [ 50%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-optional.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-optional.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-optional.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-optional.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-optional.c [ 50%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-opts-helpers.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-opts-helpers.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-opts-helpers.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-opts-helpers.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-opts-helpers.c [ 51%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-opts.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-opts.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-opts.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-opts.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-opts.c [ 51%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-queue.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-queue.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-queue.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-queue.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-queue.c [ 52%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-read-concern.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-read-concern.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-read-concern.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-read-concern.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-read-concern.c [ 53%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-read-prefs.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-read-prefs.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-read-prefs.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-read-prefs.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-read-prefs.c [ 53%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-rpc.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-rpc.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-rpc.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-rpc.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-rpc.c [ 54%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-retryable-cmd.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-retryable-cmd.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-retryable-cmd.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-retryable-cmd.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-retryable-cmd.c [ 54%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-retry-backoff-generator.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-retry-backoff-generator.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-retry-backoff-generator.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-retry-backoff-generator.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-retry-backoff-generator.c [ 55%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-server-api.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-server-api.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-server-api.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-server-api.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-server-api.c [ 55%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-server-description.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-server-description.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-server-description.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-server-description.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-server-description.c [ 56%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-server-stream.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-server-stream.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-server-stream.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-server-stream.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-server-stream.c [ 56%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-client-session.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-client-session.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-client-session.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-client-session.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-client-session.c [ 57%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-server-monitor.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-server-monitor.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-server-monitor.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-server-monitor.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-server-monitor.c [ 58%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-set.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-set.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-set.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-set.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-set.c [ 58%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-shared.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-shared.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-shared.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-shared.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-shared.c [ 59%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-socket.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-socket.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-socket.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-socket.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-socket.c [ 59%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-buffered.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-buffered.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-buffered.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-buffered.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-stream-buffered.c [ 60%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-stream.c [ 60%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-file.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-file.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-file.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-file.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-stream-file.c [ 61%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-gridfs.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-gridfs.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-gridfs.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-gridfs.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-stream-gridfs.c [ 62%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-gridfs-download.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-gridfs-download.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-gridfs-download.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-gridfs-download.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-stream-gridfs-download.c [ 62%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-gridfs-upload.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-gridfs-upload.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-gridfs-upload.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-gridfs-upload.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-stream-gridfs-upload.c [ 63%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-socket.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-socket.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-socket.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-socket.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-stream-socket.c [ 63%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-structured-log.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-structured-log.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-structured-log.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-structured-log.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-structured-log.c [ 64%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-timeout.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-timeout.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-timeout.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-timeout.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-timeout.c [ 64%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-topology.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-topology.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-topology.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-topology.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-topology.c [ 65%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-topology-background-monitoring.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-topology-background-monitoring.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-topology-background-monitoring.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-topology-background-monitoring.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-topology-background-monitoring.c [ 65%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-topology-description.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-topology-description.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-topology-description.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-topology-description.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-topology-description.c [ 66%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-topology-description-apm.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-topology-description-apm.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-topology-description-apm.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-topology-description-apm.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-topology-description-apm.c [ 67%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-topology-scanner.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-topology-scanner.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-topology-scanner.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-topology-scanner.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-topology-scanner.c [ 67%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-ts-pool.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-ts-pool.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-ts-pool.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-ts-pool.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-ts-pool.c [ 68%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-uri.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-uri.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-uri.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-uri.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-uri.c [ 68%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-util.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-util.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-util.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-util.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-util.c [ 69%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-version-functions.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-version-functions.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-version-functions.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-version-functions.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-version-functions.c [ 69%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-write-command.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-write-command.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-write-command.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-write-command.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-write-command.c [ 70%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-write-concern.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-write-concern.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-write-concern.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-write-concern.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-write-concern.c [ 71%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/service-gcp.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/service-gcp.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/service-gcp.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/service-gcp.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/service-gcp.c [ 71%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/__/common/src/common-atomic.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/__/common/src/common-atomic.c.o -MF CMakeFiles/mongoc_shared.dir/__/common/src/common-atomic.c.o.d -o CMakeFiles/mongoc_shared.dir/__/common/src/common-atomic.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/common-atomic.c [ 72%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/__/common/src/common-b64.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/__/common/src/common-b64.c.o -MF CMakeFiles/mongoc_shared.dir/__/common/src/common-b64.c.o.d -o CMakeFiles/mongoc_shared.dir/__/common/src/common-b64.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/common-b64.c [ 72%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/__/common/src/common-md5.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/__/common/src/common-md5.c.o -MF CMakeFiles/mongoc_shared.dir/__/common/src/common-md5.c.o.d -o CMakeFiles/mongoc_shared.dir/__/common/src/common-md5.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/common-md5.c [ 73%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/__/common/src/common-json.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/__/common/src/common-json.c.o -MF CMakeFiles/mongoc_shared.dir/__/common/src/common-json.c.o.d -o CMakeFiles/mongoc_shared.dir/__/common/src/common-json.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/common-json.c [ 73%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/__/common/src/common-string.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/__/common/src/common-string.c.o -MF CMakeFiles/mongoc_shared.dir/__/common/src/common-string.c.o.d -o CMakeFiles/mongoc_shared.dir/__/common/src/common-string.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/common-string.c [ 74%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/__/common/src/common-oid.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/__/common/src/common-oid.c.o -MF CMakeFiles/mongoc_shared.dir/__/common/src/common-oid.c.o.d -o CMakeFiles/mongoc_shared.dir/__/common/src/common-oid.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/common-oid.c [ 74%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/__/common/src/common-thread.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/__/common/src/common-thread.c.o -MF CMakeFiles/mongoc_shared.dir/__/common/src/common-thread.c.o.d -o CMakeFiles/mongoc_shared.dir/__/common/src/common-thread.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src/common-thread.c [ 75%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-crypto.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-crypto.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-crypto.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-crypto.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-crypto.c [ 76%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-scram.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-scram.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-scram.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-scram.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-scram.c [ 76%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-tls.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-tls.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-tls.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-tls.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-stream-tls.c [ 77%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-ssl.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-ssl.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-ssl.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-ssl.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-ssl.c [ 77%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-crypto-openssl.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-crypto-openssl.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-crypto-openssl.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-crypto-openssl.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-crypto-openssl.c [ 78%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-rand-openssl.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-rand-openssl.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-rand-openssl.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-rand-openssl.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-rand-openssl.c [ 78%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-crypto-cng.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-crypto-cng.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-crypto-cng.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-crypto-cng.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-crypto-cng.c [ 79%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-rand-cng.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-rand-cng.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-rand-cng.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-rand-cng.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-rand-cng.c [ 80%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-tls-secure-channel.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-tls-secure-channel.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-tls-secure-channel.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-tls-secure-channel.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-stream-tls-secure-channel.c [ 80%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-secure-channel.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-secure-channel.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-secure-channel.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-secure-channel.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-secure-channel.c [ 81%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-crypto-common-crypto.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-crypto-common-crypto.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-crypto-common-crypto.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-crypto-common-crypto.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-crypto-common-crypto.c [ 81%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-rand-common-crypto.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-rand-common-crypto.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-rand-common-crypto.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-rand-common-crypto.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-rand-common-crypto.c [ 82%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-tls-secure-transport.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-tls-secure-transport.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-tls-secure-transport.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-tls-secure-transport.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-stream-tls-secure-transport.c [ 82%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-secure-transport.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-secure-transport.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-secure-transport.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-secure-transport.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-secure-transport.c [ 83%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-tls-openssl.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-tls-openssl.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-tls-openssl.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-tls-openssl.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-stream-tls-openssl.c [ 83%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-tls-openssl-bio.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-tls-openssl-bio.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-tls-openssl-bio.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-tls-openssl-bio.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-stream-tls-openssl-bio.c [ 84%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-openssl.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-openssl.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-openssl.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-openssl.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-openssl.c [ 85%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-ocsp-cache.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-ocsp-cache.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-ocsp-cache.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-ocsp-cache.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-ocsp-cache.c [ 85%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-bulkwrite.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-bulkwrite.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-bulkwrite.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-bulkwrite.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src/mongoc/mongoc-bulkwrite.c [ 86%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/__/kms-message/src/hexlify.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -w -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/__/kms-message/src/hexlify.c.o -MF CMakeFiles/mongoc_shared.dir/__/kms-message/src/hexlify.c.o.d -o CMakeFiles/mongoc_shared.dir/__/kms-message/src/hexlify.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src/hexlify.c [ 86%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_b64.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -w -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_b64.c.o -MF CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_b64.c.o.d -o CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_b64.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src/kms_b64.c [ 87%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_caller_identity_request.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -w -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_caller_identity_request.c.o -MF CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_caller_identity_request.c.o.d -o CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_caller_identity_request.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src/kms_caller_identity_request.c [ 87%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_crypto_apple.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -w -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_crypto_apple.c.o -MF CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_crypto_apple.c.o.d -o CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_crypto_apple.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src/kms_crypto_apple.c [ 88%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_crypto_libcrypto.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -w -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_crypto_libcrypto.c.o -MF CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_crypto_libcrypto.c.o.d -o CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_crypto_libcrypto.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src/kms_crypto_libcrypto.c [ 89%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_crypto_none.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -w -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_crypto_none.c.o -MF CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_crypto_none.c.o.d -o CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_crypto_none.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src/kms_crypto_none.c [ 89%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_crypto_windows.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -w -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_crypto_windows.c.o -MF CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_crypto_windows.c.o.d -o CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_crypto_windows.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src/kms_crypto_windows.c [ 90%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_decrypt_request.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -w -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_decrypt_request.c.o -MF CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_decrypt_request.c.o.d -o CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_decrypt_request.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src/kms_decrypt_request.c [ 90%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_encrypt_request.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -w -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_encrypt_request.c.o -MF CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_encrypt_request.c.o.d -o CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_encrypt_request.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src/kms_encrypt_request.c [ 91%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_kmip_response_parser.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -w -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_kmip_response_parser.c.o -MF CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_kmip_response_parser.c.o.d -o CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_kmip_response_parser.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src/kms_kmip_response_parser.c [ 91%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_kv_list.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -w -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_kv_list.c.o -MF CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_kv_list.c.o.d -o CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_kv_list.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src/kms_kv_list.c [ 92%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_message.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -w -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_message.c.o -MF CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_message.c.o.d -o CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_message.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src/kms_message.c [ 92%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_port.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -w -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_port.c.o -MF CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_port.c.o.d -o CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_port.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src/kms_port.c [ 93%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_request.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -w -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_request.c.o -MF CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_request.c.o.d -o CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_request.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src/kms_request.c [ 94%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_request_opt.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -w -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_request_opt.c.o -MF CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_request_opt.c.o.d -o CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_request_opt.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src/kms_request_opt.c [ 94%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_request_str.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -w -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_request_str.c.o -MF CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_request_str.c.o.d -o CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_request_str.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src/kms_request_str.c [ 95%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_response.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -w -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_response.c.o -MF CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_response.c.o.d -o CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_response.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src/kms_response.c [ 95%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_response_parser.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -w -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_response_parser.c.o -MF CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_response_parser.c.o.d -o CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_response_parser.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src/kms_response_parser.c [ 96%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/__/kms-message/src/sort.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -DKMS_MESSAGE_LITTLE_ENDIAN -DKMS_MSG_STATIC -DMCOMMON_NAME_PREFIX=_mongoc_mcommon -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -Dmongoc_shared_EXPORTS -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/uthash -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -fPIC -DUTF8PROC_EXPORTS -w -MD -MT src/libmongoc/CMakeFiles/mongoc_shared.dir/__/kms-message/src/sort.c.o -MF CMakeFiles/mongoc_shared.dir/__/kms-message/src/sort.c.o.d -o CMakeFiles/mongoc_shared.dir/__/kms-message/src/sort.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/kms-message/src/sort.c [ 96%] Linking C shared library libmongoc2.so cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/cmake -E cmake_link_script CMakeFiles/mongoc_shared.dir/link.txt --verbose=1 /usr/bin/gcc -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-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -Wl,--version-script="/builddir/build/BUILD/mongo-c-driver-2.3.1/build/cmake/libmongoc-hidden-symbols.map" -Wl,--dependency-file=CMakeFiles/mongoc_shared.dir/link.d -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 -shared -Wl,-soname,libmongoc2.so.2 -o libmongoc2.so.2.3.1 "CMakeFiles/mongoc_shared.dir/src/mongoc/mcd-azure.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mcd-nsinfo.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mcd-rpc.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-aggregate.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-apm.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-array.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-async.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-async-cmd.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-buffer.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-bulk-operation.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-change-stream.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-client.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-client-pool.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-client-side-encryption.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cluster.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cluster-aws.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cluster-oidc.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cluster-sasl.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-collection.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-compression.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-counters.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-crypt.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cursor-array.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cursor.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cursor-cmd.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cursor-change-stream.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cursor-find.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-database.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-error.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-deprioritized-servers.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-flags.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-find-and-modify.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-generation-map.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-init.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-gridfs.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-gridfs-bucket.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-gridfs-bucket-file.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-gridfs-file.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-gridfs-file-list.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-gridfs-file-page.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-handshake.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-host-list.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-http.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-interrupt.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-jitter-source.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-list.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-linux-distro-scanner.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-log.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-log-and-monitor-private.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-memcmp.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-cmd.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-oidc-cache.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-oidc-callback.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-oidc-env.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-opcode.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-optional.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-opts-helpers.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-opts.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-queue.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-read-concern.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-read-prefs.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-rpc.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-retryable-cmd.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-retry-backoff-generator.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-server-api.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-server-description.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-server-stream.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-client-session.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-server-monitor.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-set.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-shared.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-socket.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-buffered.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-file.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-gridfs.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-gridfs-download.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-gridfs-upload.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-socket.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-structured-log.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-timeout.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-topology.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-topology-background-monitoring.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-topology-description.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-topology-description-apm.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-topology-scanner.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-ts-pool.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-uri.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-util.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-version-functions.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-write-command.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-write-concern.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/service-gcp.c.o" "CMakeFiles/mongoc_shared.dir/__/common/src/common-atomic.c.o" "CMakeFiles/mongoc_shared.dir/__/common/src/common-b64.c.o" "CMakeFiles/mongoc_shared.dir/__/common/src/common-md5.c.o" "CMakeFiles/mongoc_shared.dir/__/common/src/common-json.c.o" "CMakeFiles/mongoc_shared.dir/__/common/src/common-string.c.o" "CMakeFiles/mongoc_shared.dir/__/common/src/common-oid.c.o" "CMakeFiles/mongoc_shared.dir/__/common/src/common-thread.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-crypto.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-scram.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-tls.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-ssl.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-crypto-openssl.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-rand-openssl.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-crypto-cng.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-rand-cng.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-tls-secure-channel.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-secure-channel.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-crypto-common-crypto.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-rand-common-crypto.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-tls-secure-transport.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-secure-transport.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-tls-openssl.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-stream-tls-openssl-bio.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-openssl.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-ocsp-cache.c.o" "CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-bulkwrite.c.o" "CMakeFiles/mongoc_shared.dir/__/kms-message/src/hexlify.c.o" "CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_b64.c.o" "CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_caller_identity_request.c.o" "CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_crypto_apple.c.o" "CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_crypto_libcrypto.c.o" "CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_crypto_none.c.o" "CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_crypto_windows.c.o" "CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_decrypt_request.c.o" "CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_encrypt_request.c.o" "CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_kmip_response_parser.c.o" "CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_kv_list.c.o" "CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_message.c.o" "CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_port.c.o" "CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_request.c.o" "CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_request_opt.c.o" "CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_request_str.c.o" "CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_response.c.o" "CMakeFiles/mongoc_shared.dir/__/kms-message/src/kms_response_parser.c.o" "CMakeFiles/mongoc_shared.dir/__/kms-message/src/sort.c.o" /usr/lib64/libzstd.so /usr/lib64/libmongocrypt.so ../libbson/libbson2.so.2.3.1 /usr/lib64/librt.a -lm /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libutf8proc.so -lresolv cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/cmake -E cmake_symlink_library libmongoc2.so.2.3.1 libmongoc2.so.2 libmongoc2.so gmake[2]: Leaving directory '/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build' [ 96%] Built target mongoc_shared /usr/bin/gmake -f src/libmongoc/CMakeFiles/mongoc-stat.dir/build.make src/libmongoc/CMakeFiles/mongoc-stat.dir/depend /usr/bin/gmake -f src/CMakeFiles/mongoc-cxx-check.dir/build.make src/CMakeFiles/mongoc-cxx-check.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build' cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/mongo-c-driver-2.3.1 /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/CMakeFiles/mongoc-stat.dir/DependInfo.cmake "--color=" gmake[2]: Entering directory '/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build' cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/mongo-c-driver-2.3.1 /builddir/build/BUILD/mongo-c-driver-2.3.1/src /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/CMakeFiles/mongoc-cxx-check.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build' /usr/bin/gmake -f src/CMakeFiles/mongoc-cxx-check.dir/build.make src/CMakeFiles/mongoc-cxx-check.dir/build gmake[2]: Leaving directory '/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build' /usr/bin/gmake -f src/libmongoc/CMakeFiles/mongoc-stat.dir/build.make src/libmongoc/CMakeFiles/mongoc-stat.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build' [ 97%] Building CXX object src/CMakeFiles/mongoc-cxx-check.dir/cpp-check.cpp.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src && /usr/bin/g++ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=gnu++11 -DUTF8PROC_EXPORTS -MD -MT src/CMakeFiles/mongoc-cxx-check.dir/cpp-check.cpp.o -MF CMakeFiles/mongoc-cxx-check.dir/cpp-check.cpp.o.d -o CMakeFiles/mongoc-cxx-check.dir/cpp-check.cpp.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/cpp-check.cpp [ 98%] Building C object src/libmongoc/CMakeFiles/mongoc-stat.dir/__/tools/mongoc-stat.c.o cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/gcc -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_MLIB_BUILD_CONFIG=RelWithDebInfo -D_XOPEN_SOURCE=700 -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/src -I/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libbson/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -DNDEBUG -std=c99 -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=discarded-qualifiers -Werror=uninitialized -Werror=format -Werror=format=2 -Werror=format-diag -Werror=format-overflow=2 -Werror=format-signedness -Werror=format-truncation=2 -DUTF8PROC_EXPORTS -MD -MT src/libmongoc/CMakeFiles/mongoc-stat.dir/__/tools/mongoc-stat.c.o -MF CMakeFiles/mongoc-stat.dir/__/tools/mongoc-stat.c.o.d -o CMakeFiles/mongoc-stat.dir/__/tools/mongoc-stat.c.o -c /builddir/build/BUILD/mongo-c-driver-2.3.1/src/tools/mongoc-stat.c gmake[2]: Leaving directory '/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build' [ 98%] Built target mongoc-cxx-check [ 98%] Linking C executable mongoc2-stat cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc && /usr/bin/cmake -E cmake_link_script CMakeFiles/mongoc-stat.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -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,--dependency-file=CMakeFiles/mongoc-stat.dir/link.d "CMakeFiles/mongoc-stat.dir/__/tools/mongoc-stat.c.o" -o mongoc2-stat libmongoc2.so.2.3.1 /usr/lib64/libzstd.so /usr/lib64/libmongocrypt.so ../libbson/libbson2.so.2.3.1 /usr/lib64/librt.a -lm /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libutf8proc.so -lresolv gmake[2]: Leaving directory '/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build' [ 98%] Built target mongoc-stat gmake[2]: Leaving directory '/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build' [ 98%] Built target mongoc-man /usr/bin/gmake -f src/libmongoc/CMakeFiles/mongoc-doc.dir/build.make src/libmongoc/CMakeFiles/mongoc-doc.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build' cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/mongo-c-driver-2.3.1 /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/libmongoc/CMakeFiles/mongoc-doc.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build' /usr/bin/gmake -f src/libmongoc/CMakeFiles/mongoc-doc.dir/build.make src/libmongoc/CMakeFiles/mongoc-doc.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build' gmake[2]: Nothing to be done for 'src/libmongoc/CMakeFiles/mongoc-doc.dir/build'. gmake[2]: Leaving directory '/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build' [ 98%] Built target mongoc-doc /usr/bin/gmake -f CMakeFiles/doc.dir/build.make CMakeFiles/doc.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build' cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/mongo-c-driver-2.3.1 /builddir/build/BUILD/mongo-c-driver-2.3.1 /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/CMakeFiles/doc.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/doc.dir/build.make CMakeFiles/doc.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build' gmake[2]: Nothing to be done for 'CMakeFiles/doc.dir/build'. gmake[2]: Leaving directory '/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build' [ 98%] Built target doc [100%] Linking CXX executable mlib-ckdint-test cd /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/src/common && /usr/bin/cmake -E cmake_link_script CMakeFiles/mlib-ckdint-test.dir/link.txt --verbose=1 /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-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -O2 -g -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,--dependency-file=CMakeFiles/mlib-ckdint-test.dir/link.d "CMakeFiles/mlib-ckdint-test.dir/src/mlib/ckdint.test.cpp.o" -o mlib-ckdint-test gmake[2]: Leaving directory '/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build' [100%] Built target mlib-ckdint-test gmake[1]: Leaving directory '/builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/mongo-c-driver-2.3.1/redhat-linux-build/CMakeFiles 0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Cxxs2z + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64 ++ dirname /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64 + 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-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' + 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-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' + 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-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 mongo-c-driver-2.3.1 + DESTDIR=/builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64 + /usr/bin/cmake --install redhat-linux-build -- Install configuration: "RelWithDebInfo" -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/lib64/libbson2.so.2.3.1 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/lib64/libbson2.so.2 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/lib64/libbson2.so -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/lib64/cmake/bson-2.3.1/bson_shared-targets.cmake -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/lib64/cmake/bson-2.3.1/bson_shared-targets-relwithdebinfo.cmake -- Generating pkg-config file: bson2.pc -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/lib64/pkgconfig/bson2.pc -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/bson-2.3.1 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/bson-2.3.1/bson -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/bson-2.3.1/bson/memory.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/bson-2.3.1/bson/macros.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/bson-2.3.1/bson/error.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/bson-2.3.1/bson/compat.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/bson-2.3.1/bson/bson_t.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/bson-2.3.1/bson/bson.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/bson-2.3.1/bson/bson-writer.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/bson-2.3.1/bson/bson-version-functions.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/bson-2.3.1/bson/bson-vector.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/bson-2.3.1/bson/bson-value.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/bson-2.3.1/bson/bson-utf8.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/bson-2.3.1/bson/bson-types.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/bson-2.3.1/bson/bson-string.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/bson-2.3.1/bson/bson-reader.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/bson-2.3.1/bson/bson-prelude.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/bson-2.3.1/bson/bson-oid.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/bson-2.3.1/bson/bson-keys.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/bson-2.3.1/bson/bson-json.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/bson-2.3.1/bson/bson-iter.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/bson-2.3.1/bson/bson-endian.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/bson-2.3.1/bson/bson-decimal128.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/bson-2.3.1/bson/bson-context.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/bson-2.3.1/bson/bson-clock.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/bson-2.3.1/bson/bson-bcon.h -- Up-to-date: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/bson-2.3.1 -- Up-to-date: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/bson-2.3.1/bson -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/bson-2.3.1/bson/version.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/bson-2.3.1/bson/config.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/lib64/cmake/bson-2.3.1/00-mongo-platform-targets.cmake -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/lib64/cmake/bson-2.3.1/bsonConfig.cmake -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/lib64/cmake/bson-2.3.1/bsonConfigVersion.cmake -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/libbson_binary_vector.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_aligned_alloc.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_aligned_alloc0.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_append_array.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_append_array_begin.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_append_array_end.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_append_array_from_vector.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_append_array_from_vector_float32.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_append_array_from_vector_int8.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_append_array_from_vector_packed_bit.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_append_array_unsafe_begin.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_append_binary.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_append_binary_uninit.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_append_bool.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_append_code.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_append_code_with_scope.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_append_date_time.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_append_dbpointer.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_append_decimal128.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_append_document.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_append_document_begin.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_append_document_end.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_append_double.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_append_int32.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_append_int64.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_append_iter.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_append_maxkey.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_append_minkey.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_append_now_utc.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_append_null.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_append_oid.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_append_regex.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_append_regex_w_len.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_append_symbol.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_append_time_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_append_timestamp.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_append_timeval.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_append_undefined.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_append_utf8.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_append_value.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_append_vector_float32_from_array.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_append_vector_float32_uninit.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_append_vector_int8_from_array.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_append_vector_int8_uninit.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_append_vector_packed_bit_from_array.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_append_vector_packed_bit_uninit.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_array_alloc.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_array_alloc0.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_array_as_canonical_extended_json.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_array_as_legacy_extended_json.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_array_as_relaxed_extended_json.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_array_builder_append_vector_elements.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_array_builder_append_vector_float32_elements.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_array_builder_append_vector_int8_elements.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_array_builder_append_vector_packed_bit_elements.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_array_builder_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_as_canonical_extended_json.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_as_json_with_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_as_legacy_extended_json.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_as_relaxed_extended_json.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_ascii_strtoll.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_check_version.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_compare.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_concat.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_context_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_context_get_default.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_context_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_context_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_copy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_copy_to.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_copy_to_excluding_noinit.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_copy_to_excluding_noinit_va.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_count_keys.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_decimal128_from_string.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_decimal128_from_string_w_len.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_decimal128_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_decimal128_to_string.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_destroy_with_steal.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_equal.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_error_clear.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_error_reset.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_error_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_free.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_get_data.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_get_major_version.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_get_micro_version.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_get_minor_version.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_get_monotonic_time.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_get_version.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_has_field.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_init.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_init_from_json.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_init_static.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_isspace.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_array.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_as_bool.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_as_double.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_as_int64.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_binary.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_binary_equal.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_binary_subtype.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_bool.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_code.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_codewscope.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_date_time.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_dbpointer.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_decimal128.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_document.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_double.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_dup_utf8.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_find.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_find_case.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_find_descendant.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_find_w_len.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_init.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_init_find.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_init_find_case.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_init_find_w_len.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_init_from_data.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_init_from_data_at_offset.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_int32.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_int64.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_key.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_key_len.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_next.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_offset.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_oid.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_overwrite_binary.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_overwrite_bool.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_overwrite_date_time.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_overwrite_decimal128.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_overwrite_double.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_overwrite_int32.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_overwrite_int64.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_overwrite_oid.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_overwrite_timestamp.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_recurse.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_regex.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_symbol.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_time_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_timestamp.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_timeval.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_type.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_utf8.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_value.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_iter_visit_all.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_json_data_reader_ingest.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_json_data_reader_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_json_mode_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_json_opts_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_json_opts_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_json_opts_set_outermost_array.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_json_opts_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_json_reader_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_json_reader_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_json_reader_new_from_fd.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_json_reader_new_from_file.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_json_reader_read.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_json_reader_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_malloc.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_malloc0.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_mem_restore_vtable.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_mem_set_vtable.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_memory.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_new_from_buffer.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_new_from_data.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_new_from_json.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_oid_compare.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_oid_compare_unsafe.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_oid_copy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_oid_copy_unsafe.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_oid_equal.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_oid_equal_unsafe.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_oid_get_time_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_oid_get_time_t_unsafe.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_oid_hash.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_oid_hash_unsafe.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_oid_init.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_oid_init_from_data.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_oid_init_from_string.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_oid_init_from_string_unsafe.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_oid_is_valid.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_oid_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_oid_to_string.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_reader_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_reader_destroy_func_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_reader_new_from_data.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_reader_new_from_fd.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_reader_new_from_file.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_reader_new_from_handle.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_reader_read.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_reader_read_func_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_reader_reset.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_reader_set_destroy_func.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_reader_set_read_func.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_reader_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_reader_tell.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_realloc.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_realloc_ctx.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_realloc_func.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_reinit.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_reserve_buffer.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_set_error.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_sized_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_snprintf.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_steal.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_strcasecmp.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_strdup.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_strdup_printf.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_strdupv_printf.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_strerror_r.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_strfreev.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_strncpy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_strndup.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_strnlen.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_subtype_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_type_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_uint32_to_string.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_unichar_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_utf8_escape_for_json.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_utf8_from_unichar.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_utf8_get_char.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_utf8_next_char.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_utf8_validate.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_validate.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_validate_flags_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_validate_with_error.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_validate_with_error_and_offset.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_value_copy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_value_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_value_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_error_code_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_float32_binary_data_length.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_float32_const_view_from_iter.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_float32_const_view_init.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_float32_const_view_length.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_float32_const_view_read.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_float32_const_view_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_float32_view_as_const.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_float32_view_from_iter.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_float32_view_init.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_float32_view_length.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_float32_view_read.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_float32_view_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_float32_view_write.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_int8_binary_data_length.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_int8_const_view_from_iter.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_int8_const_view_init.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_int8_const_view_length.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_int8_const_view_pointer.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_int8_const_view_read.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_int8_const_view_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_int8_view_as_const.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_int8_view_from_iter.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_int8_view_init.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_int8_view_length.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_int8_view_pointer.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_int8_view_read.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_int8_view_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_int8_view_write.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_packed_bit_binary_data_length.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_packed_bit_const_view_from_iter.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_packed_bit_const_view_init.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_packed_bit_const_view_length.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_packed_bit_const_view_length_bytes.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_packed_bit_const_view_padding.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_packed_bit_const_view_read_packed.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_packed_bit_const_view_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_packed_bit_const_view_unpack_bool.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_packed_bit_view_as_const.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_packed_bit_view_from_iter.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_packed_bit_view_init.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_packed_bit_view_length.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_packed_bit_view_length_bytes.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_packed_bit_view_pack_bool.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_packed_bit_view_padding.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_packed_bit_view_read_packed.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_packed_bit_view_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_packed_bit_view_unpack_bool.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vector_packed_bit_view_write_packed.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_visitor_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_vsnprintf.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_writer_begin.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_writer_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_writer_end.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_writer_get_length.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_writer_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_writer_rollback.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_writer_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_zero_free.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_character_and_string_routines.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_reference.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/libbson_legacy_extended_json.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_lifetimes.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/bson_version.3 -- Generating pkg-config file: mongoc2.pc -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/lib64/pkgconfig/mongoc2.pc -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/bin/mongoc2-stat -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/lib64/libmongoc2.so.2.3.1 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/lib64/libmongoc2.so.2 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/lib64/libmongoc2.so -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-config.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-version.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-apm.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-bulk-operation.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-bulkwrite.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-change-stream.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-client.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-client-pool.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-client-side-encryption.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-collection.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-cursor.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-database.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-error.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-flags.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-find-and-modify.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-gridfs.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-gridfs-bucket.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-gridfs-file.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-gridfs-file-page.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-gridfs-file-list.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-handshake.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-host-list.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-init.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-iovec.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-log.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-macros.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-oidc-callback.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-opcode.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-optional.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-prelude.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-read-concern.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-read-prefs.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-server-api.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-server-description.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-client-session.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-sleep.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-socket.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-stream-tls-openssl.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-stream.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-stream-buffered.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-stream-file.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-stream-gridfs.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-stream-socket.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-structured-log.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-topology-description.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-uri.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-version-functions.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-write-concern.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-rand.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-stream-tls.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-ssl.h -- Up-to-date: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/include/mongoc-2.3.1/mongoc/mongoc-bulkwrite.h -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/lib64/cmake/mongoc-2.3.1/mongoc-targets.cmake -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/lib64/cmake/mongoc-2.3.1/mongoc-targets-relwithdebinfo.cmake -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/lib64/cmake/mongoc-2.3.1/mongocConfig.cmake -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/lib64/cmake/mongoc-2.3.1/mongocConfigVersion.cmake -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_application_performance_monitoring.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_errors.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_reference.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_init_cleanup.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_logging.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_callbacks_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_callbacks_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_callbacks_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_command_failed_get_command_name.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_command_failed_get_context.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_command_failed_get_database_name.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_command_failed_get_duration.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_command_failed_get_error.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_command_failed_get_host.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_command_failed_get_operation_id.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_command_failed_get_reply.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_command_failed_get_request_id.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_command_failed_get_server_connection_id_int64.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_command_failed_get_server_id.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_command_failed_get_service_id.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_command_failed_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_command_started_get_command.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_command_started_get_command_name.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_command_started_get_context.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_command_started_get_database_name.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_command_started_get_host.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_command_started_get_operation_id.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_command_started_get_request_id.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_command_started_get_server_connection_id_int64.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_command_started_get_server_id.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_command_started_get_service_id.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_command_started_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_command_succeeded_get_command_name.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_command_succeeded_get_context.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_command_succeeded_get_database_name.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_command_succeeded_get_duration.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_command_succeeded_get_host.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_command_succeeded_get_operation_id.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_command_succeeded_get_reply.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_command_succeeded_get_request_id.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_command_succeeded_get_server_connection_id_int64.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_command_succeeded_get_server_id.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_command_succeeded_get_service_id.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_command_succeeded_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_server_changed_get_context.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_server_changed_get_host.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_server_changed_get_new_description.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_server_changed_get_previous_description.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_server_changed_get_topology_id.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_server_changed_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_server_closed_get_context.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_server_closed_get_host.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_server_closed_get_topology_id.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_server_closed_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_server_heartbeat_failed_get_awaited.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_server_heartbeat_failed_get_context.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_server_heartbeat_failed_get_duration.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_server_heartbeat_failed_get_error.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_server_heartbeat_failed_get_host.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_server_heartbeat_failed_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_server_heartbeat_started_get_awaited.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_server_heartbeat_started_get_context.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_server_heartbeat_started_get_host.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_server_heartbeat_started_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_server_heartbeat_succeeded_get_awaited.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_server_heartbeat_succeeded_get_context.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_server_heartbeat_succeeded_get_duration.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_server_heartbeat_succeeded_get_host.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_server_heartbeat_succeeded_get_reply.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_server_heartbeat_succeeded_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_server_opening_get_context.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_server_opening_get_host.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_server_opening_get_topology_id.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_server_opening_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_set_command_failed_cb.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_set_command_started_cb.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_set_command_succeeded_cb.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_set_server_changed_cb.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_set_server_closed_cb.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_set_server_heartbeat_failed_cb.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_set_server_heartbeat_started_cb.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_set_server_heartbeat_succeeded_cb.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_set_server_opening_cb.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_set_topology_changed_cb.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_set_topology_closed_cb.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_set_topology_opening_cb.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_topology_changed_get_context.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_topology_changed_get_new_description.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_topology_changed_get_previous_description.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_topology_changed_get_topology_id.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_topology_changed_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_topology_closed_get_context.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_topology_closed_get_topology_id.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_topology_closed_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_topology_opening_get_context.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_topology_opening_get_topology_id.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_apm_topology_opening_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_auto_encryption_opts_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_auto_encryption_opts_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_auto_encryption_opts_set_bypass_auto_encryption.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_auto_encryption_opts_set_bypass_query_analysis.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_auto_encryption_opts_set_encrypted_fields_map.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_auto_encryption_opts_set_extra.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_auto_encryption_opts_set_key_expiration.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_auto_encryption_opts_set_key_vault_client.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_auto_encryption_opts_set_key_vault_client_pool.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_auto_encryption_opts_set_key_vault_namespace.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_auto_encryption_opts_set_kms_credential_provider_callback.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_auto_encryption_opts_set_kms_providers.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_auto_encryption_opts_set_schema_map.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_auto_encryption_opts_set_tls_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_auto_encryption_opts_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulk_operation_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulk_operation_execute.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulk_operation_get_server_id.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulk_operation_get_write_concern.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulk_operation_insert.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulk_operation_insert_with_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulk_operation_remove.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulk_operation_remove_many_with_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulk_operation_remove_one.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulk_operation_remove_one_with_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulk_operation_replace_one.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulk_operation_replace_one_with_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulk_operation_set_bypass_document_validation.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulk_operation_set_client_session.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulk_operation_set_comment.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulk_operation_set_let.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulk_operation_set_server_id.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulk_operation_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulk_operation_update.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulk_operation_update_many_with_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulk_operation_update_one.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulk_operation_update_one_with_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_append_deletemany.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_append_deleteone.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_append_insertone.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_append_replaceone.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_append_updatemany.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_append_updateone.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_check_acknowledged.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_check_acknowledged_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_deletemanyopts_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_deletemanyopts_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_deletemanyopts_set_collation.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_deletemanyopts_set_hint.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_deletemanyopts_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_deleteoneopts_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_deleteoneopts_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_deleteoneopts_set_collation.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_deleteoneopts_set_hint.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_deleteoneopts_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_execute.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_insertoneopts_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_insertoneopts_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_insertoneopts_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_replaceoneopts_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_replaceoneopts_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_replaceoneopts_set_collation.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_replaceoneopts_set_hint.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_replaceoneopts_set_sort.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_replaceoneopts_set_upsert.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_replaceoneopts_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_serverid.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_serverid_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_set_client.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_set_session.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_updatemanyopts_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_updatemanyopts_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_updatemanyopts_set_arrayfilters.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_updatemanyopts_set_collation.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_updatemanyopts_set_hint.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_updatemanyopts_set_upsert.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_updatemanyopts_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_updateoneopts_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_updateoneopts_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_updateoneopts_set_arrayfilters.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_updateoneopts_set_collation.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_updateoneopts_set_hint.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_updateoneopts_set_sort.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_updateoneopts_set_upsert.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwrite_updateoneopts_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwriteexception_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwriteexception_error.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwriteexception_errorreply.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwriteexception_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwriteexception_writeconcernerrors.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwriteexception_writeerrors.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwriteopts_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwriteopts_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwriteopts_set_bypassdocumentvalidation.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwriteopts_set_comment.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwriteopts_set_extra.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwriteopts_set_let.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwriteopts_set_ordered.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwriteopts_set_serverid.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwriteopts_set_verboseresults.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwriteopts_set_writeconcern.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwriteopts_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwriteresult_deletedcount.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwriteresult_deleteresults.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwriteresult_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwriteresult_insertedcount.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwriteresult_insertresults.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwriteresult_matchedcount.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwriteresult_modifiedcount.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwriteresult_serverid.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwriteresult_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwriteresult_updateresults.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwriteresult_upsertedcount.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_bulkwritereturn_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_change_stream_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_change_stream_error_document.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_change_stream_get_resume_token.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_change_stream_next.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_change_stream_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_check_version.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_cleanup.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_append_metadata.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_bulkwrite_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_command_simple.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_command_simple_with_server_id.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_command_with_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_enable_auto_encryption.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_add_key_alt_name.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_create_datakey.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_create_encrypted_collection.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_datakey_opts_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_datakey_opts_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_datakey_opts_set_keyaltnames.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_datakey_opts_set_keymaterial.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_datakey_opts_set_masterkey.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_datakey_opts_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_decryption_decrypt.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_delete_key.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_encrypt.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_encrypt_expression.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_encrypt_opts_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_encrypt_opts_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_encrypt_opts_set_algorithm.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_encrypt_opts_set_contention_factor.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_encrypt_opts_set_keyaltname.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_encrypt_opts_set_keyid.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_encrypt_opts_set_query_type.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_encrypt_opts_set_range_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_encrypt_opts_set_text_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_encrypt_opts_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_encrypt_range_opts_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_encrypt_range_opts_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_encrypt_range_opts_set_max.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_encrypt_range_opts_set_min.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_encrypt_range_opts_set_precision.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_encrypt_range_opts_set_sparsity.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_encrypt_range_opts_set_trim_factor.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_encrypt_range_opts_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_encrypt_text_opts_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_encrypt_text_opts_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_encrypt_text_opts_set_case_sensitive.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_encrypt_text_opts_set_diacritic_sensitive.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_encrypt_text_opts_set_prefix.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_encrypt_text_opts_set_substring.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_encrypt_text_opts_set_suffix.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_encrypt_text_opts_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_encrypt_text_prefix_opts_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_encrypt_text_prefix_opts_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_encrypt_text_prefix_opts_set_str_max_query_length.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_encrypt_text_prefix_opts_set_str_min_query_length.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_encrypt_text_prefix_opts_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_encrypt_text_substring_opts_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_encrypt_text_substring_opts_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_encrypt_text_substring_opts_set_str_max_length.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_encrypt_text_substring_opts_set_str_max_query_length.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_encrypt_text_substring_opts_set_str_min_query_length.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_encrypt_text_substring_opts_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_encrypt_text_suffix_opts_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_encrypt_text_suffix_opts_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_encrypt_text_suffix_opts_set_str_max_query_length.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_encrypt_text_suffix_opts_set_str_min_query_length.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_encrypt_text_suffix_opts_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_get_crypt_shared_version.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_get_key.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_get_key_by_alt_name.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_get_keys.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_opts_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_opts_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_opts_set_key_expiration.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_opts_set_keyvault_client.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_opts_set_key_vault_namespace.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_opts_set_kms_credential_provider_callback.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_opts_set_kms_providers.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_opts_set_tls_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_opts_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_remove_key_alt_name.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_rewrap_many_datakey.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_rewrap_many_datakey_result_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_rewrap_many_datakey_result_get_bulk_write_result.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_rewrap_many_datakey_result_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_rewrap_many_datakey_result_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_encryption_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_find_databases_with_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_get_collection.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_get_crypt_shared_version.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_get_database.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_get_database_names.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_get_database_names_with_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_get_default_database.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_get_gridfs.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_get_handshake_description.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_get_read_concern.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_get_read_prefs.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_get_server_description.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_get_server_descriptions.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_get_uri.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_get_write_concern.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_new_from_uri.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_new_from_uri_with_error.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_pool_append_metadata.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_pool_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_pool_enable_auto_encryption.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_pool_max_size.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_pool_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_pool_new_with_error.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_pool_pop.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_pool_push.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_pool_set_apm_callbacks.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_pool_set_appname.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_pool_set_error_api.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_pool_set_oidc_callback.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_pool_set_server_api.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_pool_set_ssl_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_pool_set_structured_log_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_pool_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_pool_try_pop.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_read_command_with_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_read_write_command_with_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_reset.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_select_server.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_session_abort_transaction.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_session_advance_cluster_time.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_session_advance_operation_time.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_session_append.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_session_commit_transaction.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_session_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_session_get_client.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_session_get_cluster_time.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_session_get_dirty.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_session_get_lsid.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_session_get_operation_time.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_session_get_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_session_get_server_id.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_session_get_transaction_state.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_session_in_transaction.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_session_start_transaction.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_session_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_session_with_transaction.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_session_with_transaction_cb_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_set_apm_callbacks.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_set_appname.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_set_error_api.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_set_oidc_callback.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_set_read_concern.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_set_read_prefs.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_set_server_api.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_set_sockettimeoutms.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_set_ssl_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_set_stream_initiator.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_set_structured_log_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_set_write_concern.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_start_session.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_watch.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_client_write_command_with_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_collection_aggregate.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_collection_command_simple.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_collection_command_with_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_collection_copy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_collection_count_documents.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_collection_create_bulk_operation_with_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_collection_create_indexes_with_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_collection_delete_many.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_collection_delete_one.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_collection_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_collection_drop.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_collection_drop_index.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_collection_drop_index_with_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_collection_drop_with_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_collection_estimated_document_count.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_collection_find_and_modify.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_collection_find_and_modify_with_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_collection_find_indexes_with_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_collection_find_with_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_collection_get_name.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_collection_get_read_concern.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_collection_get_read_prefs.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_collection_get_write_concern.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_collection_insert.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_collection_insert_many.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_collection_insert_one.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_collection_keys_to_index_string.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_collection_read_command_with_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_collection_read_write_command_with_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_collection_remove.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_collection_rename.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_collection_rename_with_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_collection_replace_one.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_collection_set_read_concern.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_collection_set_read_prefs.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_collection_set_write_concern.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_collection_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_collection_update.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_collection_update_many.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_collection_update_one.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_collection_watch.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_collection_write_command_with_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_cursor_clone.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_cursor_current.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_cursor_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_cursor_error.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_cursor_error_document.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_cursor_get_batch_size.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_cursor_get_host.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_cursor_get_id.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_cursor_get_limit.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_cursor_get_max_await_time_ms.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_cursor_get_server_id.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_cursor_more.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_cursor_new_from_command_reply_with_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_cursor_next.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_cursor_set_batch_size.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_cursor_set_limit.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_cursor_set_max_await_time_ms.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_cursor_set_server_id.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_cursor_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_database_add_user.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_database_aggregate.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_database_command_simple.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_database_command_with_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_database_copy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_database_create_collection.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_database_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_database_drop.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_database_drop_with_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_database_find_collections_with_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_database_get_collection.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_database_get_collection_names_with_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_database_get_name.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_database_get_read_concern.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_database_get_read_prefs.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_database_get_write_concern.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_database_has_collection.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_database_read_command_with_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_database_read_write_command_with_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_database_remove_all_users.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_database_remove_user.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_database_set_read_concern.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_database_set_read_prefs.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_database_set_write_concern.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_database_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_database_watch.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_database_write_command_with_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_error_has_label.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_find_and_modify_opts_append.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_find_and_modify_opts_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_find_and_modify_opts_get_bypass_document_validation.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_find_and_modify_opts_get_fields.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_find_and_modify_opts_get_flags.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_find_and_modify_opts_get_max_time_ms.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_find_and_modify_opts_get_sort.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_find_and_modify_opts_get_update.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_find_and_modify_opts_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_find_and_modify_opts_set_bypass_document_validation.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_find_and_modify_opts_set_fields.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_find_and_modify_opts_set_flags.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_find_and_modify_opts_set_max_time_ms.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_find_and_modify_opts_set_sort.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_find_and_modify_opts_set_update.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_find_and_modify_opts_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_get_major_version.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_get_micro_version.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_get_minor_version.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_get_version.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_bucket_abort_upload.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_bucket_delete_by_id.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_bucket_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_bucket_download_to_stream.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_bucket_find.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_bucket_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_bucket_open_download_stream.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_bucket_open_upload_stream.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_bucket_open_upload_stream_with_id.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_bucket_stream_error.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_bucket_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_bucket_upload_from_stream.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_bucket_upload_from_stream_with_id.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_create_file.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_create_file_from_stream.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_drop.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_file_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_file_error.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_file_get_aliases.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_file_get_chunk_size.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_file_get_content_type.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_file_get_filename.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_file_get_id.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_file_get_length.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_file_get_md5.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_file_get_metadata.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_file_get_upload_date.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_file_list_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_file_list_error.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_file_list_next.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_file_list_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_file_opt_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_file_readv.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_file_remove.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_file_save.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_file_seek.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_file_set_aliases.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_file_set_content_type.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_file_set_filename.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_file_set_id.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_file_set_md5.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_file_set_metadata.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_file_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_file_tell.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_file_writev.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_find_one_by_filename.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_find_one_with_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_find_with_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_get_chunks.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_get_files.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_remove_by_filename.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_gridfs_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_handshake_data_append.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_host_list_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_init.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_insert_flags_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_iovec_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_oidc_callback_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_oidc_callback_fn_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_oidc_callback_get_fn.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_oidc_callback_get_user_data.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_oidc_callback_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_oidc_callback_new_with_user_data.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_oidc_callback_params_cancel_with_timeout.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_oidc_callback_params_get_timeout.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_oidc_callback_params_get_user_data.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_oidc_callback_params_get_username.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_oidc_callback_params_get_version.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_oidc_callback_params_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_oidc_callback_set_user_data.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_oidc_callback_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_oidc_credential_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_oidc_credential_get_access_token.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_oidc_credential_get_expires_in.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_oidc_credential_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_oidc_credential_new_with_expires_in.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_oidc_credential_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_optional_copy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_optional_init.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_optional_is_set.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_optional_set_value.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_optional_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_optional_value.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_query_flags_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_rand.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_rand_add.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_rand_seed.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_rand_status.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_read_concern_append.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_read_concern_copy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_read_concern_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_read_concern_get_level.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_read_concern_is_default.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_read_concern_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_read_concern_set_level.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_read_concern_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_read_mode_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_read_prefs_add_tag.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_read_prefs_copy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_read_prefs_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_read_prefs_get_hedge.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_read_prefs_get_max_staleness_seconds.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_read_prefs_get_mode.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_read_prefs_get_tags.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_read_prefs_is_valid.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_read_prefs_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_read_prefs_set_hedge.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_read_prefs_set_max_staleness_seconds.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_read_prefs_set_mode.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_read_prefs_set_tags.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_read_prefs_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_remove_flags_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_server_api_copy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_server_api_deprecation_errors.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_server_api_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_server_api_get_deprecation_errors.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_server_api_get_strict.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_server_api_get_version.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_server_api_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_server_api_strict.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_server_api_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_server_api_version_from_string.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_server_api_version_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_server_api_version_to_string.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_server_description_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_server_description_hello_response.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_server_description_host.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_server_description_id.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_server_description_last_update_time.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_server_description_new_copy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_server_description_round_trip_time.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_server_description_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_server_description_type.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_server_descriptions_destroy_all.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_session_opt_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_session_opts_clone.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_session_opts_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_session_opts_get_causal_consistency.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_session_opts_get_default_transaction_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_session_opts_get_snapshot.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_session_opts_get_transaction_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_session_opts_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_session_opts_set_causal_consistency.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_session_opts_set_default_transaction_opts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_session_opts_set_snapshot.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_socket_accept.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_socket_bind.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_socket_close.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_socket_connect.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_socket_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_socket_errno.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_socket_getnameinfo.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_socket_getsockname.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_socket_listen.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_socket_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_socket_recv.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_socket_send.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_socket_sendv.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_socket_setsockopt.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_socket_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_ssl_opt_get_default.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_ssl_opt_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_stream_buffered_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_stream_buffered_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_stream_close.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_stream_cork.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_stream_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_stream_file_get_fd.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_stream_file_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_stream_file_new_for_path.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_stream_file_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_stream_flush.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_stream_get_base_stream.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_stream_gridfs_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_stream_read.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_stream_readv.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_stream_setsockopt.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_stream_should_retry.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_stream_socket_get_socket.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_stream_socket_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_stream_socket_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_stream_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_stream_timed_out.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_stream_tls_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_stream_uncork.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_stream_write.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_stream_writev.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_structured_log_component_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_structured_log_entry_get_component.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_structured_log_entry_get_level.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_structured_log_entry_get_message_string.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_structured_log_entry_message_as_bson.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_structured_log_entry_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_structured_log_func_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_structured_log_get_component_name.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_structured_log_get_level_name.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_structured_log_get_named_component.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_structured_log_get_named_level.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_structured_log_level_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_structured_log_opts_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_structured_log_opts_get_max_document_length.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_structured_log_opts_get_max_level_for_component.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_structured_log_opts_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_structured_log_opts_set_handler.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_structured_log_opts_set_max_document_length.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_structured_log_opts_set_max_document_length_from_env.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_structured_log_opts_set_max_level_for_all_components.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_structured_log_opts_set_max_level_for_component.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_structured_log_opts_set_max_levels_from_env.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_structured_log_opts_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_topology_description_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_topology_description_get_servers.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_topology_description_has_readable_server.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_topology_description_has_writable_server.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_topology_description_new_copy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_topology_description_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_topology_description_type.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_transaction_opt_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_transaction_opts_clone.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_transaction_opts_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_transaction_opts_get_max_commit_time_ms.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_transaction_opts_get_read_concern.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_transaction_opts_get_read_prefs.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_transaction_opts_get_write_concern.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_transaction_opts_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_transaction_opts_set_max_commit_time_ms.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_transaction_opts_set_read_concern.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_transaction_opts_set_read_prefs.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_transaction_opts_set_write_concern.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_transaction_state_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_update_flags_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_copy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_get_auth_mechanism.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_get_auth_source.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_get_compressors.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_get_database.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_get_hosts.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_get_mechanism_properties.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_get_option_as_bool.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_get_option_as_int32.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_get_option_as_int64.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_get_option_as_utf8.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_get_options.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_get_password.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_get_read_concern.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_get_read_prefs_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_get_replica_set.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_get_server_monitoring_mode.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_get_srv_hostname.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_get_srv_service_name.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_get_string.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_get_tls.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_get_username.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_get_write_concern.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_has_option.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_new_for_host_port.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_new_with_error.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_option_is_bool.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_option_is_int32.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_option_is_int64.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_option_is_utf8.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_set_auth_mechanism.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_set_auth_source.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_set_compressors.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_set_database.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_set_mechanism_properties.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_set_option_as_bool.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_set_option_as_int32.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_set_option_as_int64.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_set_option_as_utf8.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_set_password.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_set_read_concern.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_set_read_prefs_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_set_server_monitoring_mode.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_set_username.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_set_write_concern.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_uri_unescape.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_version.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_write_concern_append.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_write_concern_copy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_write_concern_destroy.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_write_concern_get_journal.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_write_concern_get_w.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_write_concern_get_wmajority.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_write_concern_get_wtag.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_write_concern_get_wtimeout.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_write_concern_get_wtimeout_int64.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_write_concern_is_acknowledged.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_write_concern_is_default.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_write_concern_is_valid.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_write_concern_journal_is_set.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_write_concern_new.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_write_concern_set_journal.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_write_concern_set_w.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_write_concern_set_wmajority.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_write_concern_set_wtag.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_write_concern_set_wtimeout.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_write_concern_set_wtimeout_int64.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_write_concern_t.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_structured_log.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/man/man3/mongoc_unstructured_log.3 -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/mongo-c-driver/2.3.1/COPYING -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/mongo-c-driver/2.3.1/NEWS -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/mongo-c-driver/2.3.1/README.rst -- Installing: /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/mongo-c-driver/2.3.1/THIRD_PARTY_NOTICES + : Static library + rm -f '/builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/lib64/*.a' + rm -rf '/builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/lib64/cmake/*static*' + rm -rf '/builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/lib64/pkgconfig/*static*' + : Documentation + rm -rf /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/mongo-c-driver + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 2.3.1-1.el10 --unique-debug-suffix -2.3.1-1.el10.x86_64 --unique-debug-src-base mongo-c-driver-2.3.1-1.el10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/mongo-c-driver-2.3.1 find-debuginfo: starting Extracting debug info from 3 files DWARF-compressing 3 files sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/mongo-c-driver-2.3.1-1.el10.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /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 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.6Ye8Gy + umask 022 + cd /builddir/build/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-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' + 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-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' + 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-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 mongo-c-driver-2.3.1 + ret=0 + exit 0 Processing files: mongo-c-driver-2.3.1-1.el10.x86_64 Provides: mongo-c-driver = 2.3.1-1.el10 mongo-c-driver(x86-64) = 2.3.1-1.el10 mongo-c-driver-tools = 2.3.1 mongo-c-driver-tools(x86-64) = 2.3.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) rtld(GNU_HASH) Obsoletes: mongo-c-driver-tools < 1.3.0 Processing files: mongo-c-driver-libs-2.3.1-1.el10.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.8vJaBP + umask 022 + cd /builddir/build/BUILD + cd mongo-c-driver-2.3.1 + LICENSEDIR=/builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/licenses/mongo-c-driver-libs + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/licenses/mongo-c-driver-libs + cp -pr /builddir/build/BUILD/mongo-c-driver-2.3.1/COPYING /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/licenses/mongo-c-driver-libs + cp -pr /builddir/build/BUILD/mongo-c-driver-2.3.1/THIRD_PARTY_NOTICES /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/licenses/mongo-c-driver-libs + RPM_EC=0 ++ jobs -p + exit 0 Provides: bundled(uthash) = 2.3.0 libmongoc2.so.2()(64bit) libmongoc2.so.2(mongoc)(64bit) mongo-c-driver-libs = 2.3.1-1.el10 mongo-c-driver-libs(x86-64) = 2.3.1-1.el10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libbson2.so.2()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) libmongocrypt.so.0()(64bit) libresolv.so.2()(64bit) libresolv.so.2(GLIBC_2.9)(64bit) libssl.so.3()(64bit) libssl.so.3(OPENSSL_3.0.0)(64bit) libutf8proc.so.2()(64bit) libzstd.so.1()(64bit) rtld(GNU_HASH) Processing files: mongo-c-driver-devel-2.3.1-1.el10.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.7S6jBS + umask 022 + cd /builddir/build/BUILD + cd mongo-c-driver-2.3.1 + DOCDIR=/builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/doc/mongo-c-driver-devel + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/doc/mongo-c-driver-devel + cp -pr /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libmongoc/examples /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/doc/mongo-c-driver-devel + cp -pr /builddir/build/BUILD/mongo-c-driver-2.3.1/NEWS /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/doc/mongo-c-driver-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: cmake(mongoc) = 2.3.1 mongo-c-driver-devel = 2.3.1-1.el10 mongo-c-driver-devel(x86-64) = 2.3.1-1.el10 pkgconfig(mongoc2) = 2.3.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config cmake-filesystem(x86-64) libmongoc2.so.2()(64bit) pkgconfig(bson2) Processing files: libbson-2.3.1-1.el10.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.v8EGcg + umask 022 + cd /builddir/build/BUILD + cd mongo-c-driver-2.3.1 + LICENSEDIR=/builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/licenses/libbson + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/licenses/libbson + cp -pr /builddir/build/BUILD/mongo-c-driver-2.3.1/COPYING /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/licenses/libbson + cp -pr /builddir/build/BUILD/mongo-c-driver-2.3.1/THIRD_PARTY_NOTICES /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/licenses/libbson + RPM_EC=0 ++ jobs -p + exit 0 Provides: bundled(jsonsl) libbson = 2.3.1-1.el10 libbson(x86-64) = 2.3.1-1.el10 libbson2.so.2()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(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.6)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) rtld(GNU_HASH) Processing files: libbson-devel-2.3.1-1.el10.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.K8zP7T + umask 022 + cd /builddir/build/BUILD + cd mongo-c-driver-2.3.1 + DOCDIR=/builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/doc/libbson-devel + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/doc/libbson-devel + cp -pr /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/examples /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/doc/libbson-devel + cp -pr /builddir/build/BUILD/mongo-c-driver-2.3.1/src/libbson/NEWS /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64/usr/share/doc/libbson-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: cmake(bson) = 2.3.1 libbson-devel = 2.3.1-1.el10 libbson-devel(x86-64) = 2.3.1-1.el10 pkgconfig(bson2) = 2.3.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config cmake-filesystem(x86-64) libbson2.so.2()(64bit) Processing files: mongo-c-driver-debugsource-2.3.1-1.el10.x86_64 Provides: mongo-c-driver-debugsource = 2.3.1-1.el10 mongo-c-driver-debugsource(x86-64) = 2.3.1-1.el10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: mongo-c-driver-debuginfo-2.3.1-1.el10.x86_64 Provides: debuginfo(build-id) = 17bdc7513b94cfe87b9e898c9533a2e353c5f3bb mongo-c-driver-debuginfo = 2.3.1-1.el10 mongo-c-driver-debuginfo(x86-64) = 2.3.1-1.el10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: mongo-c-driver-debugsource(x86-64) = 2.3.1-1.el10 Processing files: mongo-c-driver-libs-debuginfo-2.3.1-1.el10.x86_64 Provides: debuginfo(build-id) = 882f9af26ed42520dbf0a89890e50a69bdc7464b libmongoc2.so.2.3.1-2.3.1-1.el10.x86_64.debug()(64bit) mongo-c-driver-libs-debuginfo = 2.3.1-1.el10 mongo-c-driver-libs-debuginfo(x86-64) = 2.3.1-1.el10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: mongo-c-driver-debugsource(x86-64) = 2.3.1-1.el10 Processing files: libbson-debuginfo-2.3.1-1.el10.x86_64 Provides: debuginfo(build-id) = 701ac320bd35b750e6b87f68224c93c42e8b4e78 libbson-debuginfo = 2.3.1-1.el10 libbson-debuginfo(x86-64) = 2.3.1-1.el10 libbson2.so.2.3.1-2.3.1-1.el10.x86_64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: mongo-c-driver-debugsource(x86-64) = 2.3.1-1.el10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64 Wrote: /builddir/build/RPMS/mongo-c-driver-libs-2.3.1-1.el10.x86_64.rpm Wrote: /builddir/build/RPMS/mongo-c-driver-devel-2.3.1-1.el10.x86_64.rpm Wrote: /builddir/build/RPMS/libbson-debuginfo-2.3.1-1.el10.x86_64.rpm Wrote: /builddir/build/RPMS/libbson-devel-2.3.1-1.el10.x86_64.rpm Wrote: /builddir/build/RPMS/mongo-c-driver-debuginfo-2.3.1-1.el10.x86_64.rpm Wrote: /builddir/build/RPMS/libbson-2.3.1-1.el10.x86_64.rpm Wrote: /builddir/build/RPMS/mongo-c-driver-2.3.1-1.el10.x86_64.rpm Wrote: /builddir/build/RPMS/mongo-c-driver-libs-debuginfo-2.3.1-1.el10.x86_64.rpm Wrote: /builddir/build/RPMS/mongo-c-driver-debugsource-2.3.1-1.el10.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.T6g7Hg + umask 022 + cd /builddir/build/BUILD + cd mongo-c-driver-2.3.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/mongo-c-driver-2.3.1-1.el10.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.wEURwg + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/mongo-c-driver-2.3.1-SPECPARTS + rm -rf mongo-c-driver-2.3.1 mongo-c-driver-2.3.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Finish: rpmbuild mongo-c-driver-2.3.1-1.el10.src.rpm Finish: build phase for mongo-c-driver-2.3.1-1.el10.src.rpm INFO: chroot_scan: 3 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/rhel-10-x86_64-1780824477.805650/root/var/log/dnf.rpm.log /var/lib/mock/rhel-10-x86_64-1780824477.805650/root/var/log/dnf.librepo.log /var/lib/mock/rhel-10-x86_64-1780824477.805650/root/var/log/dnf.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/mongo-c-driver-2.3.1-1.el10.src.rpm) Config(child) 1 minutes 58 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": "libbson-debuginfo", "epoch": null, "version": "2.3.1", "release": "1.el10", "arch": "x86_64" }, { "name": "mongo-c-driver-debuginfo", "epoch": null, "version": "2.3.1", "release": "1.el10", "arch": "x86_64" }, { "name": "libbson-devel", "epoch": null, "version": "2.3.1", "release": "1.el10", "arch": "x86_64" }, { "name": "mongo-c-driver-debugsource", "epoch": null, "version": "2.3.1", "release": "1.el10", "arch": "x86_64" }, { "name": "mongo-c-driver-devel", "epoch": null, "version": "2.3.1", "release": "1.el10", "arch": "x86_64" }, { "name": "mongo-c-driver-libs-debuginfo", "epoch": null, "version": "2.3.1", "release": "1.el10", "arch": "x86_64" }, { "name": "mongo-c-driver", "epoch": null, "version": "2.3.1", "release": "1.el10", "arch": "x86_64" }, { "name": "mongo-c-driver-libs", "epoch": null, "version": "2.3.1", "release": "1.el10", "arch": "x86_64" }, { "name": "libbson", "epoch": null, "version": "2.3.1", "release": "1.el10", "arch": "x86_64" }, { "name": "mongo-c-driver", "epoch": null, "version": "2.3.1", "release": "1.el10", "arch": "src" } ] } RPMResults finished